Prepare a command file
- Last UpdatedJul 26, 2024
- 1 minute read
The WindowMaker command file is a text file. Commands are read from the file and then actions are taken against the InTouch application data set.
The command file uses the single-byte ANSI character set. You cannot use MultiByte Character Set (MBCS) or Unicode characters.
Specifics of the text file syntax are:
-
The 8-bit ANSI character set is used, but only characters under 127 are allowed. Most control characters are stripped out.
-
Lines that begin with the # character are treated as comments.
-
Blank lines are ignored.
-
Lines are terminated with a carriage return line feed (CRLF) sequence.
-
Spaces can occur at the beginning of a line, at the end of a line, between the commands, the equal character, and its argument.
-
For any arguments requiring quotation marks, spaces are not allowed between the quotation marks and other text.
-
All leading and trailing white space is removed before each line is processed.
-
Each command starts with a period.
-
Each command file must start with the WindowMaker command-file command (.WINDOMAKERCOMMANDFILE).
A command file can contain multiple commands. If a command fails, the command processor continues with the next command in the file.