Sample for Paint Shop Pro (v9):
// Tool configuration for Screenshot Captor
// Format:
// title =
// app =
// params =
// iconfile =
// Notes:
// if title = - then it is a separator (no other values needed)
// params and iconfile are optional
// if iconfile is blank, the exe file icon will be used
// you can specify multiple entries if you separate them with @ sign on its own line
// if an app doesnt exist it will not be loaded, so its safe to add entries for programs not on users pc
//
// The following macros are available for exe and params
// %THISDIR% - the directory this file is in
// %APPDIR% - the directory where the program (Screenshot Captor) is run from
// %APPDRIVE% - the drive (e.g. c:) where the program (Screenshot Captor) is run from
// -
// %file% - Image file name (surround in " if required).
// %folder% - Folder containing the image file.
// %tmpfile% - Temporary flat image file name w/o ext. (e.g. %tmpfile%.jpg)
// %tmpfileplain% - Temporary image (with NO objects drawn) file name w/o ext. (e.g. %tmpfile%.jpg)
// %fileplain% - Saves image with NO objects drawn, and then reloads and re-adds objects
// %ProgramFiles% - Program files directory (will look in BOTH x86 and normal)
title = -
@
title = Paint Shop Pro - No Objects (default)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%fileplain%"
iconfile =
@
title = Paint Shop Pro - Temporary flattened (.jpg)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = %tmpfile%.jpg
iconfile =
@
title = Paint Shop Pro - File as is
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%file%"
iconfile =
@
title = Paint Shop Pro - Temporary No Objects (.png)
app = %ProgramFiles%\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe
params = "%tmpfileplain%"
iconfile =
@
Here's minimalist one for ColorCop tool included in same directory with the .sctool file:
title = ColorCop Tool
app = %THISDIR%\ColorCop.exe
Note that the .sctool files are parsed, and missing applications are simply not added -- this means that it's safe to have a bunch of .sctool files for applications you don't have installed on your pc, and the entries simply won't show up on your menu. I hope this means people will share .sctool configuration files for various graphic editing/watermarking/uploading/etc tools.
The result will be that when you start Screenshot Captor, the Tool menu will be automatically pre-populated with links to various graphics applications on your computer.
I've also added an important %fileplain% macro when launching tools that basically removes the objects from the image file when handing off to the external tool, and readds them back when done -- very useful if you want to sketch on an image for example, but not lose your objects.
ps. these tool packs and .stool files can also have .dcupdate files for update checking, though that may be overkill.