|
The Scripts menu (
A file will appear as a menu item. A folder will appear as a hierarchical menu, and the files inside it will be its menu items. The name of a file (or folder) is the name that will appear in the menu, except that certain names or part-names are hidden and used for determining the order of the menu, as follows:
Here are the actions you can perform with the menu items in the Scripts menu:
Scripts to go in the Scripts menu may be AppleScript scripts (or scripts in some other OSA language, if you have any); they may also be shell scripts, applications, or Automator workflows. A script in the Scripts menu can drive Script Debugger itself. Such a script does not need to include a tell block targeting Script Debugger; Script Debugger is implicitly the tell target. You can debug a script in the Scripts menu, if it is an AppleScript script, by opening it in Script Debugger and putting it into debug mode. Now when you choose the script from the Scripts menu to run it, it will pause at a breakpoint if there is one. If a script initiated from the Scripts menu takes a long time to execute, a progress dialog appears. This dialog contains a Stop button that you can use to abort the script if you think something has gone wrong (or if you just don’t feel like waiting — you cannot do anything else in Script Debugger while a script is running from the Scripts menu).
|
|||||||||||||||||