8.5

selection. When the search reaches the beginning of the script or script selection, the search
finishes. It does not loop back to the beginning.
l
From cursor: Select to start the search from the position of the cursor.
l
Entire scope: Select to search the entire script or a script selection. The scope croplands to a
script selection if you make a selection before executing the Find.
3.
Click OK. The first matching string is highlighted in the script.
4.
To find the next matching string, choose Search | Find Again or press F3.
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.
l
Text to find: Enter a new search string or select a previous search from the drop-down list.
l
Replace with: Enter the string that will replace the string displayed in the Text to find box.
l
Case sensitive: Select to limit the search to instances of text with the same case as the text in
the Text to find box.
l
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.
l
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.
l
Prompt on replace: Select to have PlanetPress Workflow 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.
l
Global: Select to search the entire content of the script.