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

Scripting FileMaker Pro

Although AppleScript databases are convenient for managing small batches of related information, they have some serious limitations. For one thing, any time you want to change an AppleScript database, you have to do so in code—a big annoyance for anyone used to the graphical comfort of Mac OS X. For another thing, you can't very easily display an AppleScript database in a dialog box; you have to settle for displaying individual properties from the database. Finally, AppleScript databases become unwieldy when they hold more than a few hundred items, since AppleScript was never really meant to do super-fast data processing.

The solution to these annoyances, of course, is to use a graphical database program. That way, you won't have to deal with convoluted AppleScript commands just to hold your information (although you're free to use AppleScripts to filter database information once it's already entered). And when it comes time to display your information, you won't have resort to AppleScript hackery to see your database onscreen.

If you feel the tug of the graphical database program, FileMaker Pro is your best choice for Mac OS X. It's easy to use—at least, as far as database programs are concerned—and full of helpful features, including powerful searching and predesigned databases for common tasks, such as cataloging a movie collection. But best of all, FileMaker Pro has a comprehensive AppleScript dictionary for automatically entering, filtering, and sorting ...

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