7.4

Table Of Contents
Use the Editor
The Script Editor and XSLT Editor share most of the same commands and functions. You can open the Script Editor using the
Open Editor button both from the Run Script Properties dialog box and from the Open XSLT Properties dialog box.
When you do so, the script currently displayed in the dialog box is pasted to the editor’s scripting box.
For information on the available editor options, refer to Editor Options.
Import and Export Scripts
Both the Script Editor and XSLT Editor let you import and export scripts. Note that when you import a script, it replaces any
script currently displayed in the editor.
To import a script:
1. In the editor, choose File | Import.
The Open dialog box appears.
2. To import a script that uses a different scripting language or that was saved under a different file format, make a selec-
tion in the Files of type drop-down list.
3. Navigate to the script you want to import and select it.
4. Click OK.
The script is imported, displayed and formatted according to the syntax of the language selected in the editor. If the
imported file had the extension of a recognized scripting language (.vbs or .js, for example), the editor language is
automatically changed.
To export a script:
1. In the editor, choose File | Export.
The Save As dialog box appears.
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.
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 pro-
cedure.
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.
Using Scripts