Script Runners

Rather than repeatedly explaining how to launch each script I write, I’m going to use this post as a generic reference.

AppleScripts are typically little bits of code that extend or connect your applications’ functionality. As such, they are not necessarily invoked like normal programs. Many fine utilities exist which provide convenient ways to run scripts, including LaunchBar, Butler, QuickSilver, Keyboard Maestro, and others. Here, however, I will describe the simple script runners I prefer, one of which is even built in to Mac OS X.

FastScripts

I favor FastScripts, which utilizes the same script folders as Apple’s Script Menu. It features assignable keyboard shortcuts, which help scripts act more like natural extensions of your applications. The FastScripts menu looks like this:

Screenshot: Example FastScripts menu contents

Apple Script Menu

To enable the Script Menu, open “AppleScript Utility” (in /Applications/AppleScript/) and check the “Show Script Menu in menu bar” option:

Screenshot: Enabling the Script Menu with AppleScript Utility

A “script” icon will appear in your menu bar. It displays a menu like this:

Screenshot: Example Script Menu contents

Scripts stored in ~/Library/Scripts/Applications/Finder/ are listed in the “Finder Scripts” section, which appears only when the Finder is the frontmost application. Scripts stored in ~/Library/Scripts/ are listed in the unlabeled section and are always accessible. You can create application subfolders for application-specific scripts yourself. The tilde (~) represents your home folder.

Here is a video demonstration of the Script Menu.

Posted on Monday, September 24th, 2007. Tags: , , .