2021.1

Table Of Contents
Variable Name Description
Example Usage (VBScript)
Example usage:
var s = Watch.GetMetadataFileName();
"Watch.GetOriginalFileName" on
page167
Retrieves a string containing the job's original path
and filename. Note: this filename is generally no
longer available if it has been captured by Watch.
Example usage:
var s = Watch.GetOriginalFileName();
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.GetResources" on page168 Retrieves a specific type of Connect resources
when it is passed a file extension (e.g. "OL-
template") or all Connect resources when it is
passed an empty string.
Example usage:
var allTemplates =
Watch.GetResources("OL-template");
"Watch.GetVariable" on page169 Retrieves the content of a local or global variable
by name.
Example usage:
var s = Watch.GetVariable
("MyVariable");
"Watch.InstallResource" on
page169
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 159