Command syntax
- Last UpdatedJul 26, 2024
- 2 minute read
The following table lists the commands you can use in a WindowMaker command file.
|
Command |
Description |
|---|---|
|
.WINDOWMAKERCOMMANDFILE |
Identifies the file as being a WindowMaker command file. If this command is not found, the file is not processed and WindowMaker exits with an error code. |
|
.VERSION=1 |
This command indicates to WindowMaker that the file is not too new to be read. |
|
.COMMANDLOGFILE=<Full File Path> |
Information, warnings, and errors are logged to this file. If the file already exists, it is overwritten. If this command is omitted, check the Logger for information about the processing status. |
|
.GO |
Runs the command. Required after a command with one or more parameters. |
|
.WINDOWCREATE |
Creates a window from an XML file. |
|
.XMLFILEPATH=<Full File Path> |
The full file path to an XML file containing a window specification. Required when the WINDOWCREATE command is used. |
|
.WINDOWDELETE |
Deletes the specified InTouch application window by name. An error is not generated if the window name is not found. |
|
.WINDOWNAME=<Window Name> |
Name of the window to delete. Required when the WINDOWDELETE command is used. |
|
.WINDOWRENAME |
Renames a window. If the 'old' name cannot be found, the command issues a warning. If the new name exists, an error message is generated. If the window cannot be renamed, an error occurs. If the old name matches the new name, then nothing is done. |
|
.OLDWINDOWNAME=<Existing Window Name> |
Current window name. Required when the WINDOWRENAME command is used. |
|
.NEWWINDOWNAME=<New Window Name> |
New window name. A window with this name must not exist. Required when the WINDOWRENAME command is used. |
|
.PRINTAPPLICATIONINFORMATION |
Prints or dumps the InTouch application data set to a text file. This is the same as selecting the Print option on the File menu commands from WindowMaker. |
|
.OUTPUTTARGET=Printer|TextFile |
Sends output to a printer or text file. |
|
.OUTPUTTARGETNAME=<Printer Name>|<Full Text File Path> |
Name of the printer or output file. If the file exists, it is overwritten. |
|
.CROSSREFERENCE |
Generates cross-reference information in Comma Separated Variable (CSV) format. |
|
.SEARCHFOR= TagName|QuickFunctions |
Searches for tags or QuickFunctions by name. |
|
. REFERENCETYPE= ByTagName|ByWindow |
Cross-references by tag or window name. |
|
. OUTPUTFILE=<Full File Path> |
Full path to the output file. If the file exists, it is overwritten. |