2018.2

Table Of Contents
Variable Name Description
Example Usage (VBScript)
by name.
Example Usage: Watch.setvariable "global.GlobalVar", "Hello
World!"
"Watch.Sleep" on page163 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 "del *.ps" "c:\" 0
true
"Script.ReturnValue" on
page163
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. The AlambicEdit library allows Workflow to
access, create or modify PDF files.
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.
Examples
In the following example, showmessage() displays a dialog box saying test message”.
Page 152