DekGenius.com
[ Team LiB ] Previous Section Next Section

Chapter 12. Control

This chapter describes the control structures of the AppleScript language. These are not commands; rather, they dictate the flow of a script—how the next line or batch of lines should be interpreted, what line should be executed next, that sort of thing.

When typing any block in this chapter, in the termination line just type the word end. AppleScript fills in the missing term after compilation. This saves time and is helpful for confirming that you have correctly structured your blocks. So, for example, don't type end if; just type end.


    [ Team LiB ] Previous Section Next Section