Learn AppleScript and automate your Mac
Written by Brent Sheets
Feb 10
Mac OS X includes an English-like native scripting language that can be used to automate actions and applications. Apple even includes 160+ free AppleScript functions – if you know where to look. To help get you started, I’d like to suggest some AppleScript resources, including where to download a free AppleScript eBook.
AppleScript can automate the most tedious of tasks but do a quick search before creating an AppleScript from scratch. You may find a script that does what you need or only requires a slight tweak to fit your needs.
applescripts already on your mac
Open Finder and go to to find 17 categories filled with prewritten AppleScript examples. You can use these AppleScript functions, learn from them or even fold them into your own AppleScripts.
the applescript menulet
Mac OS X also provides a menulet (Menu Extra) so you can hang these AppleScript examples right on the menu bar.
To add the AppleScript menulet, go to folder and open the . Then turn on the option .
free applescript tutorials
Ready to get started learning AppleScript? The 64-page AppleScript tutorial in PDF format by Bert Altenburg, called AppleScript for Absolute Starters, is a great starting point.
Then you might wish to visit the step-by-step AppleScript Tutorial for Beginners provided by Apple. This is an online version of the first chapter of the Apple Training Series: AppleScript 1-2-3, from Peachpit Press.
The Apple Developer Connection offers an Introduction to AppleScript Language Guide and you can find more AppleScript examples and tutorials on Apple.com.
applescript resources
There is a wealth of AppleScript information on the Internet. I’ve listed a few websites below that you may wish to visit.
Official AppleScript website
Apple Developer Connection
MacScripter Forums
Doug’s AppleScripts for iTunes
O’Reilly AppleScript resources