This chapter describes how your application gets various kinds of data from Apple events and the data structures that comprise them.
Your application responds to Apple events in the Apple event handlers it registers, or in routines your handlers call. Within a handler, you know that the passed Apple event matches the expected event class and event ID, although there can be some variation if the handler is registered with one or more wildcards. In either case, your handler has at least a general idea of what information the Apple event should contain. In the case of a wildcard handler, it can obtain information from the Apple event to identify the type more closely.
About Extracting Data From an Apple Event
Coercing Data From an Apple Event
Getting Data From an Apple Event Parameter
Getting Data From an Apple Event Attribute
Getting Data From a Descriptor
Getting Data From a Descriptor List
Disposing of Apple Event Data Structures
Last updated: 2007-10-31