The system-wide Script Menu is an invaluable tool for automation enthusiasts. It provides quick access to favorite automation tools, stored and displayed in an organized manner. And this utility is versatile, as it is able to execute automation files saved in any of these formats:
- AppleScript scripts and applets
- UNIX Shell script text files
- Automator workflow files
- Automator applets
The Script Menu dynamically generates its menu list based upon the contents various Scripts folders, located within the user and computer Library folders.
Here are some useful tips for working with the Script Menu:
- To run a script or automation file, simply select it from the Script Menu.
- To reveal the related automation file of a Script Menu menu item, hold down the Shift key (⇧) when you select the menu item.
- To open the related automation file of a Script Menu menu item, into the Script Editor, Automator, or the default editing application for the file, hold down the Option key (⌥) when you select the menu item.
To make the process of activating and setting up the Script Menu easy, we’ve provided a script applet that will perform all of the setup procedures for you.
The setup applet will:
- Enable the system-wide Script Menu
- Make the user Library folder visible
- Create the user Scripts folder (if it doesn’t already exist) in your Library folder
- Create individual script folders for each of the standard Apple applications, within the Applications folder in the Scripts Folder
DO THIS ►DOWNLOAD and run a script application that will setup the Script Menu on your computer. NOTE: the setup applet requires an administrative user name and password.
Saving Automator workflows so that they are accessible from the Script Menu is just a matter of saving them into one of the default Script folder locations.
Automation files (scripts & workflows) placed in the top level of the user Scripts folder will be available on the Script Menu for the current user, regardless of which application is frontmost.
Home ► Library ► Scripts
To limit the availability of automation files to be accessible from the Script Menu only when a specific application is frontmost, they are placed within individual folder named after the target application, like this path for the Finder:
Home ► Library ► Scripts ► Applications ► Finder
or for the Pages application:
Home ► Library ► Scripts ► Applications ► Pages
To enable workflows to be available to all users, save them into the computer Library folder:
Macintosh HD ► Library ► Scripts
Once a workflow has been saved into one of these destinations, it will appear on the Script Menu.
This section describes how to access and set the preferences for the system-wide Script Menu.
The system-wide Script Menu is turned on and off from within the preferences window of the AppleScript Editor application, accessed by selecting Preferences… from the AppleScript Editor application menu.
The following illustration and callouts, outline a standard set of setup options: