Script Debugger can run (and debug) multiple scripts simultaneously. To execute (run) a script:
Choose Script > Execute.
Or, click the Execute button in the toolbar.
If the script needs compiling, it is automatically compiled first. If there is a compilation error, the script won’t run.
While a script is running:
In the toolbar, Execute is replaced by Stop.
You can click Stop, or choose Script > Stop, to interrupt execution.
In the Script menu, the Execute menu item changes to Running, is disabled, and has a check mark. Script > Stop is enabled.
Additionally, if the script is in debug mode, then when the script is executing, the Pause button appears in the toolbar, and Script > Pause is enabled.
If the script runs to completion with no runtime error, there is usually a result.
You can run the frontmost script even when you’re in a different application:
Use the Mini Debugger floating window. It displays and lets you control the frontmost script.
Script Debugger’s Dock menu (Control-click its Dock icon) contains Execute and Stop menu items that operate on the frontmost script.
Script Debugger helps you run individual handlers in a script.
|