7.1
Table Of Contents
- Copyright Information
- Table of Contents
- Overview
- Getting Started
- Understanding PlanetPress Suite Workflow Tools
- The Nature of PlanetPress Suite Workflow Tools
- The Three Flavors of the PlanetPress Suite Workflow Tools
- Terms and Definitions
- About Configurations
- About Processes
- About Subprocesses
- About Tasks
- About Branches and Conditions
- About Data
- About Data Selections
- About Data Emulation
- About Related Programs and Services
- About Documents
- About Printing
- The PlanetPress Suite Workflow Tools Configuration Program
- Start the PlanetPress Suite Workflow Tools Configuration Program
- The PlanetPress Suite Button
- Create a New Configuration
- Open a PlanetPress Suite Configuration File
- Saving and Sending a Configuration
- Save your Configuration
- Send your Configuration
- Import Processes from Another Configuration File
- Import Documents
- Import PrintShop Mail Documents
- Change the Interface Language
- Exit the PlanetPress Suite Workflow Tools Configuration Program
- The Quick Access Toolbar
- The PlanetPress Suite Ribbon
- The Configuration Components Pane
- Using the Clipboard and Drag & Drop
- Add a PlanetPress Suite Process
- Activate or Deactivate a Process
- Access Process Properties
- View Document Properties
- Convert a Branch to a Subprocess
- Add Resident Documents in the Configuration Components Pane
- Associate Documents and PlanetPress Watch Printer Queues
- Rename Objects in the Configuration Components Pane
- Reorder Objects in the Configuration Components Pane
- Grouping Configuration Components
- Expand and Collapse Categories and Groups in the Configuration Components Pane
- Delete Objects and Groups from the Configuration Components Pane
- The Process Area
- Zoom In or Out within Process Area
- Adding Tasks
- Adding Branches
- Edit a Task
- Replacing Tasks, Conditions or Branches
- Remove Tasks or Branches
- Task Properties Dialog
- Cutting, Copying and Pasting Tasks and Branches
- Moving a Task or Branch Using Drag-and-Drop
- Ignoring Tasks and Branches
- Resize Rows and Columns of the Process Area
- Selecting Documents in Tasks
- Highlight a Task or Branch
- Undo a Command
- Redo a Command
- The Plug-in Bar
- The Object Inspector Pane
- The Debug Information Pane
- The Message Area Pane
- Customizing the Program Window
- Preferences
- General User Options
- Object Inspector User Options
- Configuration Components Pane User Options
- Default Configuration User Options
- Notification Messages Preferences
- Sample Data User Options
- Network User Options
- Logging User Options
- Messenger User Options
- HTTP Server Input User Options
- LPD Input Preferences
- Serial Input Service User Options
- Telnet Input User Options
- PlanetPress Fax User Options
- FTP Output Service User Options
- PlanetPress Image User Options
- LPR Output User Options
- PrintShop Web Connect Service User Options
- Editor Options
- Advanced SQL Statement dialog
- PlanetPress Suite Access Manager
- Add or Delete Document Instances
- Virtual Drive Manager
- Working With Variables
- Data in PlanetPress Suite Workflow Tools
- Task Properties Reference
- Input Tasks
- Initial and Secondary Input Tasks
- Create File Input Task Properties
- Folder Capture Input Task Properties
- Folder Listing Input Task Properties
- Concatenate PDF Files Input Task Properties
- Email Input Task Properties
- Error Bin Input Task Properties
- FTP Input Task Properties
- HTTP Client Input Task Properties
- WinQueue Input Task Properties
- HTTP Server Input Task Properties
- LPD Input Task Properties
- Serial Input Task Properties
- PrintShop Web Connect Input Task Properties
- Telnet Input Task Properties
- SOAP Input Task Properties
- Action Tasks
- Add Document Action Properties
- Add/Remove Text Action Properties
- Search and Replace Action Task Properties
- Advanced Search and Replace Action Task Properties
- Create PDF Action Task Properties
- Digital Action Task Properties
- Decompress Action Task Properties
- Change Emulation Action Task Properties
- External Program Action Task Properties
- Download to Printer Action Task Properties
- Load External File Action Properties
- Rename Action Task Property
- Set Job Infos and Variables Action Task Properties
- Windows Print Converter Action Task Properties
- Standard Filter Action Task Properties
- Translator Action Task Properties
- PlanetPress Database Action Task Properties
- XSLT Editor Action Task Properties
- Send Images to Printer Action Task Properties
- Send to Folder Action Task Properties
- Run Script Action Task Properties
- Microsoft® Word® To PDF Action Task Properties
- Create MRDX Action Task Properties
- PrintShop Mail Action Task Properties
- Process Logic Tasks
- Branch Properties
- Comment Properties
- Conditions
- File Name Condition Properties
- File Size Condition Properties
- SNMP Condition Properties
- Text Condition Properties
- Time of Day Condition
- Splitters
- About Using Emulations with Splitters
- Database Splitter Action Task Properties
- Emulated Data Splitter Action Task Properties
- In-Stream Splitter Action Task Properties
- PDF Splitter Action Task Properties
- XML Splitter Action Task Properties
- Generic Splitter Action Task Properties
- Loop Action Task Properties
- Send to Process Task Properties
- Metadata Tasks
- Barcode Scan Action Task Properties
- Create Metadata Action Task Properties
- Embed/Extract PlanetPress Suite Metadata
- Lookup in Microsoft® Excel® Documents Action Task Properties
- Metadata Fields Management Task Properties
- Metadata Filter Action Task Properties
- Metadata Level Creation Action Task Properties
- Metadata Sequencer Action Task Properties
- Metadata Sorter Task Properties
- Metadata-Based N-Up Task Properties
- Rule Interface
- Output Tasks
- Delete Output Task Properties
- FTP Output Task Properties
- Laserfiche Repository Output Task Properties
- Printer Queue Output Task Properties
- Print Using a Windows Driver Output Task Properties
- SOAP Client Task Properties
- Send Email Output Task Properties
- Send to Folder Output Task Properties
- About PlanetPress Fax
- PlanetPress Fax Output Task Properties
- About PlanetPress Image
- PlanetPress Image Output Task Properties
- Overview of the PDF/A and PDF/X Standards
- Variable Properties
- Unknown Tasks
- Masks
- Input Tasks
- Printer Queues and Documents
- PlanetPress Suite Workflow Tools Printer Queues
- Printer Queue Advanced Properties
- Windows Output Printer Queue Properties
- LPR Output Printer Queue Properties
- FTP Output Printer Queue Properties
- Send to Folder Printer Queue Properties
- PlanetPress Suite Workflow Tools and PlanetPress Design Documents
- Variable Content Document File Formats: PTZ, PTK and PS
- PlanetPress Suite Workflow Tools and Printshop Mail Documents
- Load Balancing
- Location of Documents and Resources
- Debugging PlanetPress Suite Processes
- Error Handling
- Using Scripts
- Index
Variable Name Description
Example Usage (VBScript)
"Watch.GetJobInfo" (page 210) Retrieves the content of a numbered job info (%1 to %9).
Example Usage: str = Watch.getjobinfo(9)
"Watch.GetVariable" (page 211) Retrieves the content of a local or global variable by name.
Example Usage: str = Watch.getvariable("Varname")
"Watch.ExpandString" (page 212)
Retrieves the content of any Workflow string, containing any variable available to Watch,
including data selections.
Example Usage: watchDate = Watch.expandstring("%y-%m-%d")
"Watch.Log" (page 212)
Writes to the Workflow log file, or the message window when in debug - can accept mul-
tiple log levels from 1 (red) to 4 (gray).
Example Usage: Watch.log "Hello, World!",1
"Watch.ShowMessage" (page
206)
Displays a popup dialog box to the user (user has to be logged on).
Example Usage: Watch.showmessage("Hello, World!")
"Watch.InputBox" (page 209)
Prompts the user for a string and returns the value(will not work when running as a serv-
ice)
Example Usage: str = Watch.inputbox("Caption","Message","default")
"Watch.SetJobInfo" (page 210) Writes the value of a string to a numbered job info.
Example Usage: Watch.setjobinfo 9, "String"
"Watch.SetVariable" (page 211) Writes the value of a string to a local or global variable by name.
Example Usage: Watch.setvariable "global.GlobalVar", "Hello World!"
"Watch.Sleep" (page 213) Pauses all processing for X milliseconds.
Example Usage: Watch.sleep(1000)
"Watch.ExecuteExternalProgram"
(page 207)
Calls and executes an external program in the command line.
Example Usage: Watch.executeexternalprogram "del *.ps" "c:\" 0 true
"Script.ReturnValue" (page 214) Returns a boolean True or False value to a Workflow scripted condition
Example Usage: Script.returnvalue = 1
Watch.GetPDFEditObject Is used to manipulate PDF files using the AlambicEdit API.
See the AlambicEdit API for more information.
Watch.ShowMessage
Displays a message to the user. This method is the same as PW_ShowMessage. Use this method to show the current mes-
sage displayed whether or not a user is logged in. Note that for this method to work, the "Run on Desktop"option must be ena-
bled 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");
Using Scripts
©2010 Objectif Lune Inc - 206 -










