8.4
Table Of Contents
- Table of Contents
- Welcome to PlanetPress Workflow 8.4.1
- Basics
- Features
- The Nature of PlanetPress Workflow
- About Branches and Conditions
- Configuration Components
- Connect Resources
- About Data
- About Documents
- Debugging and Error Handling
- The Plug-in Bar
- About Printing
- About Processes and Subprocesses
- Using Scripts
- Special Workflow Types
- About Tasks
- Task Properties
- Working With Variables
- About Configurations
- About Related Programs and Services
- The Interface
- Copyright Information
- Legal Notices and Acknowledgements
Flag
Effect
2 Display the window minimized.
3 Display the window maximized.
4 Makes the window visible and brings it to the top, but does not make it the active window.
WaitForTerminate: A boolean value that, if true, pauses the script until the command line has been fully
executed.
Examples
VBScript
Watch.ExecuteExternalProgram "lpr -S 192.168.100.001 -P auto c:\myfile.ps",
"c:\", 0, true
JavaScript
Watch.ExecuteExternalProgram("lpr -S 192.168.100.001 -P auto c:\\myfile.ps",
"c:\\", 0, true);
Python
Watch.ExecuteExternalProgram("lpr -S 192.168.100.001 -P auto c:\\myfile.ps",
"c:\\", 0, True)
Perl
$Watch->ExecuteExternalProgram("lpr -S 192.168.100.001 -P auto
c:\myfile.ps", "c:\", 0, true);
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 Workflow process. This is useful for manipulating
the job file, for example to replace data within it. If your script writes to this file, the modified contents will be
used by the next plugin in your process.
Example
In the following example, GetJobFileName() retrieves the name of the job file, which is then logged using
"Watch.Log" on page 101.