8.8

Table Of Contents
Variable Name Description
Example Usage (VBScript)
World!"
"Watch.Sleep" on page119 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
page119
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.
Examples
In the following example, showmessage() displays a dialog box saying test message”.
Page 108