O'Reilly logo

Apple Pro Training Series: AppleScript 1-2-3 by Bill Cheeseman, Sal Soghoian

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

Lesson 20. Droplets

Event Handlers and Applets

The Open Handler

The open, run, and reopen Commands

What’s Next?

With this chapter, you’ll begin to learn about a variety of AppleScript techniques you can use to react to actions somebody performs on your computer, such as adding a file to a folder.

It is often useful to write scripts that run automatically and immediately in reaction to events such as this in order to help you decide how to respond or to take care of menial tasks without requiring your personal attention. For example, you might write a script that automatically updates a log file or presents an alert every time somebody on your office network adds a file to the Drop Box folder in your Public folder. Or you might write a script ...

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