7.0
Table Of Contents
- Other Documentation
- Understanding PlanetPress Suite Workflow Tools
- Key Concepts
- PlanetPress Suite Workflow Tools
- The Origins of PlanetPress Watch
- The Nature of PlanetPress Suite Workflow Tools
- Configurations and Processes
- More on PlanetPress Suite Workflow Tools and How They Work
- The Configuration and its Processes
- Tasks
- More on PlanetPress Suite Services
- PlanetPress Design and PlanetPress Workflow Tools
- Data
- Data File and Job File
- Job File Names and Output File Names
- Error Handling Tools
- PlanetPress Suite Workflow Tools and Printing
- The PlanetPress Suite Workflow
- Date and Time Format
- Microsoft Outlook, Outlook Express® and MAPI
- Key Concepts
- The PlanetPress Suite Workflow Tools Configuration Program
- Key Concepts
- Detailed Directions
- Start the PlanetPress Suite Workflow Tool Configuration Program
- Choose the Account to be Used by your PlanetPress Suite Workflow Tool
- Control Access to the Locally Installed Services
- Exit the PlanetPress Suite Workflow Tool Configuration Program
- Create a New Configuration
- Open a PlanetPress Suite Configuration File
- Reopen a Configuration File
- Add a PlanetPress Suite Process
- Import Processes from Another Configuration File
- Save a Configuration
- Use Online Help
- Rename Objects in the Configuration Components Area
- Expand and Collapse Categories and Groups in the Configuration Components Area
- Cut, Copy and Paste Objects in the Configuration Components Area
- Reorder Objects in the Configuration Components Area
- Group and Ungroup Objects in the Configuration Components Area
- Delete Objects and Groups from the Configuration Components Area
- Undo a Command
- Redo a Command
- View Document Properties
- Edit Properties in the Object Inspector
- Select a Process
- Resize Rows and Columns of the PlanetPress Suite Process Area
- Zoom In or Out within the PlanetPress Suite Process Area
- Highlight a Task or Branch
- Resize the Program Window Areas
- Show or Hide Areas of the Program Window
- Dock and Undock Areas of the Program Window
- Combine and Attach Areas
- Configurations, Processes and Tasks
- Configuration Management
- Opening and Importing Configurations and Processes
- Users and Configurations
- Anatomy of a Process
- Configurations, Processes and Flowcharts
- Design Versus Debug Mode
- Tasks as Plugins
- Task Properties Dialog Boxes
- Variable Properties
- Standard Variables
- Job Information Elements and Job Info Variables
- Custom Variables
- Selecting Documents in Tasks
- Sending Job Info Variables to Output Devices
- Working with Tasks in the PlanetPress Process Area
- Adding Branches
- Detailed Directions
- Adding Tasks
- Editing Tasks or Branches
- Adding Comments
- Replacing Tasks, Conditions, Branches or Comments
- Removing Tasks and Branches
- Cutting and Pasting, or Copying and Pasting Tasks and Branches
- Moving Tasks, Branches and Comments Using Drag-and-Drop
- Duplicating Tasks, Branches and Comments Using Drag-and-Drop
- Copying and Pasting Properties between Task, Conditions or Comments
- Disabling and Enabling Tasks and Branches
- Data in PlanetPress Watch
- Input Tasks
- Detailed Directions
- Email Input Task Properties
- Folder Listing Input Task Properties
- Folder Capture Input Task Properties
- FTP Input Task Properties
- HTTP Client Input Task Properties
- HTTP Server Input Task Properties
- Create File Input Task Properties
- LPD Input Task Properties
- Serial Input Task Properties
- Telnet Input Task Properties
- WinQueue Input Task Properties
- Detailed Directions
- Output Tasks
- PlanetPress Fax
- PlanetPress Image
- Action Tasks
- Detailed Directions
- Advanced Search and Replace Action Task Properties
- Database Action Task Properties
- PrintForm Action Task Properties
- PrintShop Mail Action Task Properties
- Rename Action Task Property
- Run Script Action Task Properties
- Search and Replace Action Task Properties
- Send Images to Printer Action Task Properties
- Send to Folder Action Task Properties
- Set Variables Action Task Properties
- Standard Filter Action Task Properties
- Translator Action Task Properties
- Windows Print Converter Action Task Properties
- Create Metadata Action Task Properties
- Create PDF Action Task Properties
- In-Stream Splitter Action Task Properties
- Load External File Action Properties
- PDF Splitter Action Task Properties
- Send to Process Action Task Properties
- Emulated Data Splitter Action Task Properties
- XML Splitter Action Task Properties
- Database Splitter Action Task Properties
- Generic Splitter Action Task Properties
- Add Document Action Properties
- Add/Remove Text Action Properties
- Change Emulation Action Task Properties
- Create VDX Action Task Properties
- Decompress Action Task Properties
- Digital Imaging Action Task Properties
- Digital Signature Action Task Properties
- Download to Printer Action Task Properties
- External Program Action Task Properties
- Loop Action Task Properties
- Open XSLT Action Task Properties
- Detailed Directions
- Using Conditions
- Using Scripts
- Printer Queues and Documents
- Detailed Directions
- LPR Output Printer Queue Properties
- Windows Output Printer Queue Properties
- FTP Output Printer Queue Properties
- Send to Folder Printer Queue Properties
- Printer Queue Advanced Properties
- Import Documents
- Import PrintShop Mail Documents
- Add Resident Documents in the Configuration Components Area
- Associate Documents and PlanetPress Watch Printer Queues
- Print a Test Page
- Manually Update Documents
- Detailed Directions
- Scheduling PlanetPress Watch Processes
- Advanced Configurations and Options
- Key Concepts
- Service Options Versus Properties
- Languages
- Detailed Directions
- Delete Images From Your Virtual Drive
- Editor Options
- LPR Output User Options
- Network Ports Settings
- Change Languages
- Change your User Options
- Change your Script Editor or XSLT Editor User Options
- General User Options
- Object Inspector User Options
- Configuration Components Area User Options
- Default Configuration User Options
- Notification Messages User Options
- Sample Data User Options
- Logging User Options
- Network User Options
- HTTP Server Input User Options
- LPD Input User Options
- Serial Input Service User Options
- Telnet Input User Options
- FTP Output Service User Options
- Error Handling
- Debugging PlanetPress Watch Processes
- Sending and Running a Configuration
The first matching string is highlighted in the script.
4. To find the next matching string, choose Search | Find Again or pressing F3.
Related topics:
• Use the Editor (Page 222)
• Import and Export Scripts (Page 222)
• Find and Replace Strings in a Script (Page 224)
• Go to a Line in a Script (Page 225)
• Change the Editor Language (Page 225)
• Toggle Bookmarks (Page 226)
• Jump to Bookmarks (Page 226)
• Use Functions created for PlanetPress Watch/Server in Scripts (Page 227)
12.1.4 Find and Replace Strings in a Script
The Replace With dialog box lets you search for and replace text strings in the editor. The available options
help you limit the search, making replacements quicker and easier.
To find and replace strings in a script:
1. Choose Search | Replace, or press CTRL+R.
The Replace With dialog box appears. The last used strings are displayed in the Text to find and
Replace with boxes.
2. Set the replacement settings and options.
Text to find: Enter a new search string or select a previous search from the drop-down list.
Replace with: Enter the string that will replace the string displayed in the Text to find box.
Case sensitive: Select to limit the search to instances of text with the same case as the text in the
Text to find box.
Whole words only: Select to limit the search to complete words that match the text in the Text to find
box. Whole words are defined as strings that have a space or punctuation before and after the word.
Regular expressions: Select to treat the regular expressions of the scripting language as text. If you
clear this option, the regular expressions of the language are blocked from the search.
Prompt on replace: Select to have PlanetPress Watch/Server display a prompt before it replaces text.
When you use the Replace All function, you are prompted each time matching text is found. The prompt
includes an All button for replacing all matching text. This suppresses any further prompting.
Global: Select to search the entire content of the script.
Selected text: Select to find matching text only within a text block you select. The text must be
selected before you run the search.
Forward: Select to search the script forward, from the location of the cursor or from the beginning of
the script, depending on what you choose as the origin (From cursor begins where the cursor is
currently located in the script, Entire scope begins from the beginning of the script or beginning of script
selection). If you limit the scope to selected text, you move forward only within the selection. When the
search reaches the end of the script or script selection, the search finishes. It does not loop back to the
beginning.
Backward: Select to search the script backward, from the location of the cursor or from the end of the
script, depending on what you choose for the origin (From cursor begins where the cursor is currently
located in the script, Entire scope begins from the beginning of the script or beginning of script
selection). If you limit the scope to selected text, you move backward only within the script selection.
When the search reaches the beginning of the script or script selection, the search finishes. It does not
loop back to the beginning.
From cursor: Select to start the search from the position of the cursor.
Entire scope: Select to search either the entire script, or a script selection. The scope corresponds to a
script selection if you make a selection before executing the Find.
3. Do one of the following:
▪ Click OK to replace the first string encountered. If you selected Prompt on replace, a dialog box
opens to ask you whether to proceed with the replacement. You can OK to replace the first string
only, or you can click All to replace that string as well as every other string that matches the
replacement settings.
Using Scripts - Detailed Directions
Objectif Lune Inc. © 2009 224