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

Chapter 9. Debugging Your AppleScripts

Until this point in the book, you have been encouraged to review any error messages encountered with the AppleScript games to glean what information you could from them. This chapter’s primary focus is to explain how and why programming errors occur and to provide you with instruction on how to prevent errors from occurring. In addition, this chapter will also provide instruction on how to develop error handling logic that can trap and respond to errors when they occur. On top of all this, you will learn how to create your next AppleScript, the Rock, Paper, Scissors game.

Specifically, you will learn:

  • About different types of script errors

  • How to develop error handlers using the try statement

  • Different ways ...

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