8.4

Variable Name Description
Example Usage (VBScript)
Example Usage: Watch.setjobinfo 9, "String"
"Watch.SetVariable" on page 99 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 page 102 Pauses all processing for X milliseconds.
Example Usage: Watch.sleep(1000)
"Watch.ExecuteExternalProgram"
on the next page
Calls and executes an external program in the command line.
Example Usage: Watch.executeexternalprogram "del *.ps" "c:\" 0 true
"Script.ReturnValue" on page
103
Returns a boolean True or False value to a Workflow scripted
condition
Example Usage:
Script.returnvalue = 1
Watch.GetPDFEditObject Is used to manipulate PDF files using the AlambicEdit API.
See the AlambicEdit API for more information.
Watch.ShowMessage
Displays a message to the user. This method is the same as PW_ShowMessage. Use this method to show
the current message displayed whether or not a user is logged in. Note that for this method to work, the "Run
on Desktop"option must be enabled and you must be logged on as the same user as the PlanetPress
Watch Service.