8.8

Table Of Contents
Variable Name Description
Example Usage (VBScript)
Example Usage: str = Watch.getvariable("Varname")
"Watch.ExpandString" on
page116
Retrieves the content of any Workflow string,
containing any variable available to Watch, including
data selections.
Example Usage: watchDate = Watch.expandstring("%y-%m-%d")
"Watch.Log" on page117 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112 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114 Writes the value of a string to a numbered job info.
Example Usage: Watch.setjobinfo 9, "String"
"Watch.SetVariable" on page116 Writes the value of a string to a local or global variable
by name.
Example Usage: Watch.setvariable "global.GlobalVar", "Hello
Page 107