You are here

Passing Parameters

8 posts / 0 new
Last post
jdmba
Offline
Last seen: 11 years 2 months ago
Joined: 2007-10-17 12:20
Passing Parameters

TextPad now allows itself to be made portable, and offers a BATch files and a command line to import the registration. I cannot figure out how to pass that command line to the app (or, in the alternative, run the BATCH file instead).

I have searched this forum and one post (about Firefox) came REAL close, but someone derailed it into a KeepPass discussion. I also saw some mention of [Launch] but didn't see where to put it or how it works (I tried).

With this, can some kind soul please tell me how to launch TextPad with a command line or as a batch file instead? If it helps, the command line is:

textpad -f config -k license

Thanks!

Ed_P
Offline
Last seen: 6 years 6 months ago
Joined: 2007-02-19 09:09
??

I don't believe Textpad is a PortableApps app. Have you tried writing to it's author or vendor?

Ed

jdmba
Offline
Last seen: 11 years 2 months ago
Joined: 2007-10-17 12:20
Still looking ...

Don't need to contact the author; this is a question as to the actual method to pass a command line through the PortableApps launcher. if it helps, please make believe I want to pass the command line of

-f config -k license

to Firefox portable.

Any assistance is appreciated.

darksabre76
darksabre76's picture
Offline
Last seen: 6 months 1 week ago
Developer
Joined: 2011-04-19 23:28
Documentation

On this page of the launcher documentation, you'll see that there's an option under [Launch] called "CommandLineArguments". To use your exact problem as an example, the line would read "CommandLineArguments=-f config -k license". Hope this helps.

Ed_P
Offline
Last seen: 6 years 6 months ago
Joined: 2007-02-19 09:09
??

I don't find TextPad on this page:

https://portableapps.com/apps

so how does Launcher documentation help? What am I missing?

Ed

darksabre76
darksabre76's picture
Offline
Last seen: 6 months 1 week ago
Developer
Joined: 2011-04-19 23:28
Irrelevant

The original poster was asking about commandline parameters and was using Firefox as an example. I don't think it matters if TextPad is an official app or not. Albeit this might be better suited to the Portable App Development forum.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 16 min 33 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
If he is using Firefox

If he is using Firefox Portable as a basis the PAL docs won't help either. Firefox Portable still uses a custom Launcher and hasn't been updated to the PortableApps Launcher yet.

jdmba
Offline
Last seen: 11 years 2 months ago
Joined: 2007-10-17 12:20
Thank You

Thank you for the missing piece to the puzzle. FYI, I had found that documentation page but either hit it from a link which didn't show, or didn't notice, the lead in telling me WHERE to put the file. Hopefully I can figure out how to apply that. THANKS!

Log in or register to post comments