head> Setting Up Your Machine Run AppleScripts

Follow these steps to set your Mac to easily run AppleScripts



BACK

One of the beauties of the Mac operating system is the ability to run AppleScripts directly from the main menu bar. These scripts can be for anything you want; the idea is to have automation at your fingertips. The end result is to have this icon in your main menu bar: , which is what gives you direct access to your scripts.

The first thing is to navigate to your Applications folder, then select the Utilities folder, and launch the AppleScript Editor.app.


AppleScript Editor is the application used to write AppleScripts. Once it is launched, open the Preferences for AppleScript Editor either by pressing the command and comma (,) keys, or by selecting Preferences... from the main AppleScript Editor menu. You will then see a window like this:

The key item here is to check the box where it states Show Script menu in menu bar; the little black icon should immediately appear in your menu bar.

Personally, I don't like the Show Computer scripts option; it takes up a lot of space in the menu. I also prefer the Show application scripts at: the bottom, so that my custom scripts are nearer the top.


Now, when you click on the black script icon in your menu bar, you will now be presented with all the scripts that are currently available for you to launch. You execute a Script whenever you click on the name of the script in this list. The organization is exactly like a Finder style directory listing of scripts in the Scripts folder of your User's Library folder, and can be found via Finder as shown below:


When you download (or write) AppleScripts, this is where you want to save them, so that they can be launched simply by clicking on their filename from within the Script menu in your menu bar.



BACK