Developer --\> Technical Publications
PATH  Mac OS X Server Documentation > Making Your Applications Scriptable

Making Your Applications Scriptable

Previous | Chapter contents | Next | Book PDF

Scriptability Guidelines

This section describes what you must do to make your application (or framework or bundle) scriptable and gives you some background rationale for each procedure. For a comprehensive discussion of scripting concepts set alongside discussions of the Yellow Box's document architecture and undo support, see " Application Design for Scripting, Documents, and Undo ."

This section describes how you can design your application with scripting in mind. If you have an application that you do not want to redesign according to the principles expressed here, you can still make it scriptable, but to do so will take more effort on your part.

Make Objects Responsive to Key-Value Coding

Concentrate Scriptable Behavior in Model Objects

Create a Suite Definition and Suite Terminologies

Implement Scripting Methods

Define a New Script Command

Use the Document Architecture

Access the Text Suite


Making Your Applications Scriptable

Previous | Chapter contents | Next | Book PDF