8.5

Variable Name Description
Example Usage (VBScript)
Example Usage: str = Watch.inputbox("Caption","Message","default")
"Watch.SetJobInfo" on page103 Writes the value of a string to a numbered job info.
Example Usage: Watch.setjobinfo 9, "String"
"Watch.SetVariable" on page105 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 page108 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
page108
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