2022.2

Table Of Contents
Python
Watch.GetMetadataFileName()
Perl
$Watch->GetMetadataFileName();
Watch.GetOriginalFileName
Returns the original name of the file, when it was captured. This method is the same as PW_GetOri-
ginalFileName.
Example
JavaScript
Watch.GetOriginalFileName();
VBScript
Watch.GetOriginalFileName
Python
Watch.GetOriginalFileName()
Perl
$Watch->GetOriginalFileName();
Watch.GetPreferences
The Watch.GetPreferences method returns a JSON string containing the preferences for the OL
Connect Server and Workflow's HTTP Server, NodeJS Server and SMTP Server.
Syntax
Watch.GetPreferences()
Return value
The method returns a JSON structure containing the preferences for the OL Connect Server and Work-
flow's HTTP Server, NodeJS Server and SMTP Server. For example:
{
"System": {
"OLConnect": {
"serverAddress": "localhost",
"serverPort": 9340,
Page 138