As a developer of a script, you will sometimes want to execute your scripts directly from the Script Editor. During development and testing of a script, while debugging an issue, or for simple utility scripts that you run yourself on an ad-hoc basis, it may be simplest to run the script from the Script Editor.
To run a script from the Script Editor, you have two options:
- Select Run and then the name of the function you want to execute.
- Choose the name of the function you want to execute from the select box in the toolbar, and then click the run icon.