O'Reilly logo

AppleScript® Programming for the Absolute Beginner by Jerry Lee Ford

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

Summary

In this chapter, you learned how to develop custom handlers and to use them to improve the overall organization of your AppleScripts. In doing so, you learned how to create handlers that can accept and process input and also return a result to calling statements. Learning how to use custom handlers to organize your program code will result in modular code that is easier to read and maintain. Your script code will also be more efficient because of its support for code reuse. This chapter also explained how handlers impact variable scope. In addition to all this, you learned about AppleScript’s built-in support for event programming, and you learned the basic steps involved in working with different types of events.

Now, before you move ...

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