2018.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Watch.Log" on page149 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!",1
"Watch.ShowMessage" on the
next page
Displays a popup dialog box to the user (user has to
be logged on).
Example Usage: Watch.showmessage("Hello, World!")
"Watch.InputBox" on page144 Prompts the user for a string and returns the value (will
not work when running as a service)
Example Usage: str = Watch.inputbox
("Caption","Message","default")
"Watch.SetJobInfo" on page146 Writes the value of a string to a numbered job info.
Example Usage: Watch.setjobinfo 9, "String"
"Watch.SetVariable" on page147 Writes the value of a string to a local or global variable
by name.
Example Usage: Watch.setvariable "global.GlobalVar", "Hello
World!"
"Watch.Sleep" on page150 Pauses all processing for X milliseconds.
Example Usage: Watch.sleep(1000)
"Watch.ExecuteExternalProgram"
on page141
Calls and executes an external program in the
command line.
Page 139