Cocoa Scripting Guide

Document Revision History

In the examples in Class Elements, now using the four-character code "ricT" for the rich text class.

2007-10-31

Added pointers to new information in OS X version 10.5.

Noted in several places that you can read about changes in Cocoa scripting support for OS X v10.5, including changes in sdef usage, in the Scripting section of Foundation Release Notes for OS X v10.10.

Combines and updates information formerly in two documents, "Sdef Scriptability Guide for Cocoa" and "Scriptable Application Programming Guide for Cocoa."

Revised Overview of Cocoa Support for Scriptable Applications to provide a more complete introduction to Cocoa scripting. Changes include a description of the AppleScript object model, a table of the basic data types supported by Cocoa scripting, and expanded information on scriptability information formats.

Revised and expanded the chapter Script Commands, adding an illustration, sample code, and a comprehensive table that describes default support for AppleScript commands and how to customize it (Table 7-1).