Cocoa applications can provide scriptability information in the form of script suite and script terminology files. This format, sometimes referred to as the script suite format, has been supported since the first version of Cocoa scripting. This chapter provides a detailed look at the use and structure of these files.
Important: Starting in Mac OS X version 10.4, Cocoa applications can supply scripting information in the sdef format, described in “Preparing a Scripting Definition File.” This is the preferred format going forward.
However, if your scriptable application will run in versions of the Mac OS prior to version 10.4, it must include script suite and script terminology files. For information on working with multiple scriptability formats, see “Evolution of Cocoa Scriptability Information.”
When supplying scripting information in the script suite format, an application provides at least one nonlocalized script suite file and a corresponding script terminology file. These files together describe the scripting capabilities of the application and the terminology a scripter uses to access those capabilities.
Script Suite Files
Script Terminology Files
Cocoa Scripting’s Built-in Script Suites
Creating Your Own Script Suite Files
Last updated: 2008-03-11