Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Recipe 12. Add AppleScript Support > Step 1: Create a Terminology Dictionary an...

Step 1: Create a Terminology Dictionary and Add the Standard Suite

AppleScript is unique in the world of programming and scripting in that its terminology can be redefined by every application that supports it. The core AppleScript language consists of very few classes and commands. Almost every scriptable application adds additional classes and commands and extends or alters the meaning of core AppleScript terms. To maintain consistency and usability, developers of scriptable applications are expected to exercise self-discipline by following established guidelines regarding terminology and syntax.

Because the language is extensible by every application developer, applications inevitably depart from these guidelines to a greater or lesser degree. Fortunately, the same file in which a developer defines an application’s AppleScript terminology also serves as the application’s AppleScript reference manual. It is known as the application’s terminology dictionary, and you can look up the application’s terminology in it just as you would look up a word in a printed dictionary.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint