2018.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
Example Usage: Watch.executeexternalprogram "del *.ps" "c:\" 0
true
"Script.ReturnValue" on
page151
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”.
VBScript
Watch.ShowMessage("test message")
JavaScript
Watch.ShowMessage("test message");
Python
Watch.ShowMessage("test message")
Page 140