To run a script:
To run a script, click the Run button in the script window toolbar or type Command-R. If the script has not been compiled and checked for syntax errors, a check will occur before the script is executed.
When you run a script in Script Editor, the script is compiled and then the script is executed.
To run a script, click the Run button in the script window toolbar or type Command-R. If the script has not been compiled and checked for syntax errors, a check will occur before the script is executed.
To view the result, if any, of the last action of the script, click the Result pane at the bottom of the script window.
To view the actions of a script and their results, click Event Log at the bottom of the script window before running the script. The lower pane will display an ongoing log of each script action and its result during the execution of the script.
The event log allows you to see if your script is performing its actions as expected or if it requires more editing.