System Command Class
Command The name of a command to execute in the background when the button is pushed.
Args Arguments (parameters) to the command. These are appended before the command is execute.
Input File A file to use as standard input to the command. Defaults to NIL:.
Output File A file to use as standard output of the command. Defaults to NIL:.
Stack Size The stack size the command is run with.
Task Pri The task priority for the command.
Hotkey If set to a valid Commodities hotkey specification, this key will execute the indicated command.

Variables can be used in the hotkey specification, but variable errors are ignored silently. This is to allow templates to reference hotkey variables without errors if the indicated variable does not exist.

Structure Any children objects will appear inside the button to be pushed. As always, this is not limited to static text and bitmaps; it may be, e.g., a clock, or any other object. Behavior when one button object is put inside of another, however, is undefined.
Variables The following variables are exported by objects of this class. Variable names are case sensitive.

Variable Description
SCInput The name of the input file.
SCOutput The name of the output file.
SCCmd The command to execute.
SCArgs The command arguments (parameters).
SCFile The file component of the command name.