Checking Script Syntax
You can verify the syntax of your script before you attempt to run it.
How to verify the syntax of a script
- In the File list of the Script Editor, select the script you want to check.
- Under the editor, click on the Verify button.
A dialog appears and displays whether or not it found a syntax error in the script, and if it did, the location and type of error.