7.0

Table Of Contents
12.4 Using Dot Notation
Which Dot Notation methods can I use in the PlanetPress Suite Workflow Tools?
The PlanetPress Suite Workflow Tools scripting supports the use of dot notation when calling an object and
one of its methods. The PlanetPress Workflow Tools automation object has the following methods:
See "Watch.ShowMessage" (Page 234) See "Watch.GetJobFileName" (Page 234)
See "Watch.GetOriginalFileName" (Page 234) See "Watch.InputBox" (Page 235)
See "Watch.GetJobInfo" (Page 235) See "Watch.SetJobInfo" (Page 235)
See "Watch.GetVariable" (Page 236) See "Watch.SetVariable" (Page 236)
See "Watch.ExpandString" (Page 236) See "Watch.Log" (Page 237)
See "Watch.GetMetaDataFilename"
(Page 235)
12.4.1 Watch.ShowMessage
Displays a message to the user. This method is the same as PW_ShowMessage. Use this method to show the
current message displayed whether or not a user is logged in. In the following example, showmessage()
displays a dialog box saying “test message”.
Example
Watch.ShowMessage("test message")
12.4.2 Watch.GetJobFileName
Returns the complete path and file name of the job. This method is the same as PW_GetJobFileName.
getjobfilename() obtains the file name of a PlanetPress Suite process.
Example
s = watch.getjobfilename
watch.showmessage(s)
12.4.3 Watch.GetOriginalFileName
Returns the original name of the file, when it was captured. This method is the same as
PW_GetOriginalFileName.
Example
s = watch.getoriginalfilename
watch.showmessage(s)
Objectif Lune Inc. © 2009 234