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 QuickTime

Once you're tired of still graphics, music, and voice, you've got one multimedia medium left to cover: video. Apple's powerful video technology, QuickTime, comes preinstalled on Mac OS X, and you can access all its power with QuickTime Player (stored in your Applications folder). Double-click just about any movie on your hard drive, and QuickTime Player promptly launches.

Note

QuickTime Player can open more than just movies. For example, you can use QuickTime Player with music files, still pictures, and even plain text files. Still, QuickTime Player isn't the best program for handling those formats—that's why you've got iTunes, iPhoto, and TextEdit, for example.

Even beyond the capabilities of QuickTime Player, you can use AppleScript to unlock additional multimedia features. For example, AppleScript lets you play videos full-screen (see below)—a stunt that's normally reserved for the $30 QuickTime Pro.

Getting Started

As a budding AppleScripter, you should take some time to meet QuickTime Player—in part, because there are more than 100 million copies of QuickTime in the world! QuickTime is available for both Macs and Windows PCs—even though the AppleScript features work only with the Mac version.

If you want to play with QuickTime Player, though, you first need a movie to use. Chances are you've got a few lying around on your hard drive—just do a search in the Finder for files that have an extension of .mov. Or, if you'd prefer, you can download a folder of QuickTime ...

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