2021.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.Log" on page170 Writes to the Workflow log file, or the message
window when in debug - can accept multiple log
levels from 1 (red) to 4 (gray).
Example usage:
Watch.Log("Hello, World!", 3);
"Watch.SetJobInfo" on page172 Writes the value of a string to a numbered job info.
Example usage:
Watch.SetJobInfo(9, "Job info 9
Value");
"Watch.SetVariable" on page173 Writes the value of a string to a local or global
variable by name.
Example usage:
Watch.SetVariable("MyVariable",
"Hello World!");
"Watch.Sleep" on page173 Pauses all processing for X milliseconds.
Example Usage:
Watch.Sleep(1000);
Watch.ExecuteExternalProgram
Calls and executes an external program through a specified command line. The program's
execution will be directed by the appropriate flags specified as this method's parameters.
Syntax
Watch.ExecuteExternalProgram const CommandLine: WideString; const WorkingDir:
WideString; ShowFlags: Integer; WaitForTerminate: WordBool: integer;
const CommandLine
The command line to execute as a widestring.
const WorkingDir
Page 160