2019.2

Table Of Contents
Variable Name Description
Example Usage (VBScript)
("%y-%m-%d");
"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.ShowMessage" on
page174
Displays a popup dialog box to the user (user has to
be logged on).
Example Usage:
Watch.ShowMessage("test message");
"Watch.SetJobInfo" on page173 Writes the value of a string to a numbered job info.
Example Usage:
Watch.SetJobInfo(9, "Job info 9
Value");
"Watch.SetVariable" on page173 Writes the value of a string to a local or global variable
by name.
Example Usage:
Watch.SetVariable("MyVariable", "Hello
World!");
"Watch.Sleep" on page175 Pauses all processing for X milliseconds.
Example Usage:
Watch.Sleep(1000);
"Watch.ExecuteExternalProgram"
on the facing page
Calls and executes an external program in the
command line.
Example Usage:
Watch.ExecuteExternalProgram("lpr -S
192.168.100.001 -P auto
Page 160