8.5

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")
Perl
$Watch->ShowMessage("test message");
Watch.ExecuteExternalProgram
Calls and executes an external program through a specified command line. The program's execution will be
directed by the appropriate flags specified as this method's parameters.
Syntax
Watch.ExecuteExternalProgram const CommandLine: WideString; const WorkingDir: WideString;
ShowFlags: Integer;
WaitForTerminate: WordBool: integer;
const CommandLine: The command line to execute as a widestring.
const WorkingDir: The working directory for the execution of the command line as a widestring.
ShowFlags: Integer value representing the flag to use during the execution of the command line. These
flags have an effect on the execution window opened by the ExecuteExternalProgram procedure.