O'Reilly logo

Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition by Hanaan Rosenthal, Hamish Sanderson

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

Chapter 3. AppleScript in Practice

Now that you have a general idea of what makes AppleScript and application scripting tick, it's time to roll up your sleeves and create your first serious AppleScript.

As a heavy-duty Mac user, I frequently drop interesting-looking web links, text clippings, zip files, and so forth onto my desktop "to put away later." Of course, what actually happens is that I never do get around to filing them away myself; instead, my desktop turns into such a mess that in the end I make myself a new "desktop archive" folder and throw everything into that. Although I might never get around to organizing these files properly, my desktop is nice and clean again—at least until I start accumulating a fresh pile of random files.

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