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 ...