Developer Documentation
PATH  Mac OS X Documentation > Cocoa > Making Your Applications Scriptable


Previous | Chapter contents | Next | Book PDF

Create a Suite Definition and Suite Terminologies

Overview

A suite declares the exported set of scriptable APIs of an application, framework, or loadable bundle as well as the natural-language (AppleScript) interface to those APIs. The declaration is made in two types of files. A "suite definition" contains the language-independent information for a scriptable suite. A "suite terminology" describes the language-dependent interface; one suite terminology file goes in a language-specific resource directory ( .lproj ) if you support a particular AppleScript dialect in that language.

See " Scripting Metadata " for an overview of suite definitions and suite terminologies.

What You Must Do

If your application, framework, or bundle has any objects that you want to be scriptable, you must create a suite definition for it. You also need to create a suite terminology for each AppleScript dialect you support.

Follow the instructions given in the document " Creating Suite Definitions and Suite Terminologies ."


Making Your Applications Scriptable

Previous | Chapter contents | Next | Book PDF