O'Reilly logo

AppleScript: The Missing Manual by Adam Goldstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Address Book

In the same spirit of standardization that inspired Apple to create Safari, Mac OS X includes the Address Book program built-in. As PIMs (Personal Information Managers) go, Address Book is hardly the most advanced. Still, Address Book works wonderfully with Mail, synchronizes with other Macs (if you've paid for the $99-a-year .Mac service, and, of course, Address Book is free.

What makes Address Book the darling of power users, however, is its AppleScript support. By sending simple commands to Address Book, you can:

  • Find every one of your friends who's employed by a particular company (Section 9.3.1).

  • Create your very own Smart Groups, to sort your contacts by certain criteria (Section 9.3.2).

  • Write your own Address Book plug-ins, to add extra features to Address Book's shortcut menus (see below).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required