You are here

TextPad Portable Round Two

2 posts / 0 new
Last post
sehlat
Offline
Last seen: 10 years 1 month ago
Joined: 2008-07-15 16:45
TextPad Portable Round Two

TextPad 6 and 7 have gone what I call "semi" portable. If you launch it with two command-line parameters:

-f [directory for the configuration file]

-k [directory for the license key]

it will get its setup etc. from those directories.

I've got the following directory structure:

Clips\
config\
license\
Macros\
Samples\
Spelling\
Syntax\
system\
README.TXT
TextPad.bat
Textpad.exe
TextPad.ico

in "PortableApps\TextPad"

What would I need to add to this so that the platform could pick up the parameters and feed them to TextPad? Once I can do that, the rest will be a piece of cake. Any help appreciated. Thank you.

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 1 month 3 weeks ago
DeveloperModerator
Joined: 2008-07-24 18:46
Quite simple

Using this format, which can conveniently be added to from this template, write a launcher file as per here (paying special attention to the command line bit, compile the launcher with this tool, and you're done.

[EDIT] If you need help with this, just ask, and we'll be glad to provide more help. Smile

Log in or register to post comments