Writing and Executing a Script
Procedure
- Select .
- Click Create Script.
- In the Script Editor, type your script or copy and paste it from an external text editor.
-
To run the script, select the Edit tab, and click
Execute Script.
Note
Only one script can be executed at a time.
Result
The script runs if there are no syntax errors. Any errors appear in a dialog box to help you debug them.
Note
There are several free utility text editors that are context sensitive. This means that they can color and highlight parts of your code to make it more readable. If you use one of these for writing and editing your scripts, choose JavaScript as the editing language and/or save the file with a .js (JavaScript) extension.