2019.2

Table Of Contents
Variable Name Description
Example Usage (VBScript)
"Hello World!");
"Watch.Sleep" on page175 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("lpr -S
192.168.100.001 -P auto
c:\\myfile.ps", "c:\\", 0, true);
"Script.ReturnValue" on page176 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.InstallResource" on
page171
Is used to copy or unpack resources, such as a
Connect Designer template, Data Mapping
Configuration, package file, etc., from the supplied
path to the Connect Documents folder.
Example Usage:
Watch.InstallResource("c:\myfile.ol-
package");
Page 161