This chapter shows how your application works with the Apple Event Manager to register the Apple events it supports and dispatch those events to the appropriate Apple event handlers. An Apple event handler is an application-defined function that extracts pertinent data from an Apple event, performs the requested action, returns a result code, and if necessary, returns information in a reply Apple event.
Note: For information on how Apple events are dispatched in Cocoa applications, see How Cocoa Applications Handle Apple Events in Cocoa Scripting Guide.
How Apple Event Dispatching Works
Dispatching Apple Events in Your Application
Last updated: 2007-10-31