Version: 1.3

Posted: 2008-05-30

Build Requirements: Xcode 2.4.1

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“ScriptingDefinitions.zip”, 12.3K)
Download Sample (“ScriptingDefinitions.dmg”, 16.9K)



Description

This sample contains two scripting definition (sdef) files:

- Sketch.sdef: the scripting interface for Sketch (available separately in /Developer/Examples/AppKit). In Tiger, this file may be added to the Sketch application to drive its scriptability, in place of its existing scriptSuite and scriptTerminology files.

- Skeleton.sdef: a starting point for the scripting interface of an application. It contains definitions for the Standard Suite and the Standard Text Suite that you can include in your application's .sdef file (see enclosed ReadMe.txt for special Mac OS X 10.5 recommendations). Functionality for these suites is supplied by Cocoa Scripting.

Document Revision History

Date Notes
2008-05-30Changed code used for "rich text" from 'ctxt' to 'ricT' in the Standard Text Suite in the file ScriptingDefinitions.sdef. Added a ReadMe file that talks about the new, recommened XInclude method for including the Standard Suite in an .sdef file.
2007-03-05Updated the odoc definitions in both .sdef files.
2005-11-28Fixes inconsistencies with the Scripting Interface Guidelines (TN2106).
2005-06-27Provides a starting sdef (scripting definition) and a completed one for the Sketch example code.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.