2019.1

Table Of Contents
You must enable the “Run on desktop” option for the PlanetPress Workflow process whose
script calls Watch.InputBox. Otherwise PlanetPress Workflow application may stop working
and require a reboot.
Example
s = watch.inputbox("caption", "message", "default")
watch.showmessage(s)
Examples
In the following example,Watch.InputBox requires the user to enter a line of text. The script the
displays a pop-up of the message contents using "Watch.ShowMessage" on page148.
VBScript
s = Watch.InputBox("Your Name", "Please enter your name", "John
Doe")
Watch.ShowMessage("Will the real " + s + " please stand up?")
JavaScript
s = Watch.InputBox("Your Name", "Please enter your name", "John
Doe");
Watch.ShowMessage("Will the real " + s + " please stand up?");
Python
s = Watch.InputBox("Your Name", "Please enter your name", "John
Doe")
Watch.ShowMessage("Will the real " + s + " please stand up?")
Perl
s = Watch->InputBox("Your Name", "Please enter your name", "John
Doe");
Watch->ShowMessage("Will the real " + $s + " please stand up?");
Watch.GetJobInfo
Returns job information corresponding to the specified index. Index is an integer from 1 to 9.
Page 153