Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 6 - Resolving and Creating Object Specifier Records / Reference to Resolving and Creating Object Specifier Records
Routines for Resolving and Creating Object Specifier Records


Creating Object Specifier Records

The Apple Event Manager provides five functions that you can use to create some of the components of an object specifier record or to assemble an object specifier record:

Instead of using these functions, you can create the corresponding descriptor records yourself using the AECreateDesc function, add them to an AE record using other Apple Event Manager routines, and coerce the AE record to a descriptor record of type typeObjectSpecifier. However, in most cases it is easier to use the functions listed in this section.

All of these functions except for CreateOffsetDescriptor include a disposeInputs parameter. If the value of this parameter is TRUE, the function automatically disposes of any descriptor records you have provided as parameters to the function. If the value is FALSE, the application must dispose of the records itself. A value of FALSE may be more efficient for some applications because it allows them to reuse descriptor records.

For more information about these functions and examples of their use, see "Creating Object Specifier Records," which begins on page 6-64.


Subtopics
CreateOffsetDescriptor
CreateCompDescriptor
CreateLogicalDescriptor
CreateRangeDescriptor
CreateObjSpecifier

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996