2020.2

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.Log" on page171 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.ShowMessage" on page173 Displays a popup dialog box to the user (user has
to be logged on).
Example usage:
Watch.ShowMessage("test message");
"Watch.Sleep" on page174 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.
Page 160