7.0

Table Of Contents
2. To save the script using a different scripting language or under a different file format, make a selection
in the Save as type drop-down list.
3. Navigate to the location where you want to save the exported script.
4. Enter the name of the script in the File name box.
5. To save the script using a different scripting language or under a different file format, make a selection
in the Save as type drop-down list.
6. Click OK.
Related topics:
Use the Editor (Page 222)
Find Strings in a Script (Page 223)
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.3 Find Strings in a Script
The Find Text dialog box allows you to search for text strings in the editor. The available options help you
limit the search, making searches quicker and easier.
To find strings in a script:
Note that if you only want to search a particular section of the script, you should select it before performing
the following procedure.
1. Choose Search | Find, or press CTRL+F.
The Find Text dialog box appears. The last used string is displayed in the Text to find drop-down list
box.
2. Set the search settings and options.
Text to find: Enter a new search string or select a previous search from the drop-down list.
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 matching 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 to
search. If you clear this option, the regular expressions of the language are not included in the search.
Global: Select to search the entire content of the script.
Selected text: Select to find matching text within the text block you select. A portion of 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 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.
Using Scripts - Detailed Directions
Objectif Lune Inc. © 2009 223