7.0

Table Of Contents
12.4.4 Watch.GetMetaDataFilename
Returns the complete path and file name of the metadata file associated with the current job file.
Example
s = Watch.GetMetaDataFilename
Watch.ShowMessage(s)
12.4.5 Watch.InputBox
Prompts the user to enter a string. The string is displayed as the window caption. You can specify a message
that is displayed above the text box. This method is the same as PW_InputBox.
Clicking OK returns the value entered by the user. If no value was entered the default value is returned.
Clicking Cancel returns the default value.
You must enable the “Run on desktop” option for the PlanetPress Suite process whose script calls
Watch.InputBox. Otherwise the PlanetPress Suite Workflow Tool application may stop working and require a
reboot.
Example
s = watch.inputbox("caption", "message", "default")
watch.showmessage(s)
12.4.6 Watch.GetJobInfo
Returns job information corresponding to the specified index. Index is an integer from 1 to 9.
Syntax
Watch.GetJobInfo(Index: integer): string
Example
s = watch.getjobinfo(3)
watch.showmessage(s)
12.4.7 Watch.SetJobInfo
Sets the job information index to a specified string value.
Syntax
Watch.SetJobInfo(Index: Integer; Value: String)
Using Scripts - Using Dot Notation
Objectif Lune Inc. © 2009 235