As well as the GUI client, Colour Palette Editor also includes a command line tool which you can use to work with templates. The tool, ctktempr.exe, is located in the Colour Palette Editor application folder.
Unless otherwise noted, whenever the command line tools expect a file name, this can either be a fully qualified path, or will be resolved against the current working directory.
CTKTEMPR <name> <palette> [<output>]
[/H | /?] [/LOG [<file>] /LOGAPPEND]
[/QUIET] [/NOLOGO] [/PAUSE] [/VERSION] [/STATISTICS] [/NOCRASHREPORT]
| Parameter | Description |
|---|---|
name | Name of the template to execute |
palette | File name of the palette to load |
output | File name to write template output into. If not specified, output is written to standard out. |
/H or /? | Display this message |
/LOG <file> | Writes output to a log file. If <file> is not specified, a default name will be used |
/LOGAPPEND | If set and the log file already exists, new data will be appended to the file, otherwise the file is overwritten |
/QUIET | Suppresses most standard output |
/PAUSE | Prompts the user to press a key before the program ends |
/NOLOGO | Do not display the startup banner and copyright message |
/VERSION | Display version information only |
/STATISTICS | Display execution statistics |
/NOCRASHREPORT | Disable automatic crash logging and solution checking |
/list-arguments | Displays how input arguments were interpreted, then exits without performing any actions |