2019.1

Table Of Contents
button from the task's Properties dialog. When you do so, the script currently displayed in the
dialog box is pasted to the editors scripting box.
Both editors are visually identical and share almost exactly the same commands. They let you
import and export scripts, perform common editing, such as search and replace, and feature
syntax highlighting and formatting.
You can use the Script Editor to edit scripts written in VBScript, JavaScript, Perl and Python
(note that the corresponding interpreter must be locally available).
You can use the XSLT Editor to edit scripts written in XSLT 1.0 and 2.0.
Note
The JavaScript engine is Microsoft’s JScript 5.8, which is the equivalent of JavaScript 1.5 (ECMA-
262 3rd edition + ECMA-327 (ES-CP) + JSON).
For information on the available editor options, refer to "Editor Options" on page703.
Import and export scripts
Both the Script Editor and XSLT Editor let you import and export scripts.
Note
When you import a script, it replaces any script currently displayed in the editor.
Importing a script
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 selection in the Files of type drop-down list.
3. Navigate to the script you want to import and select it.
Page 133