Receiving Apple Events
If you want your application to respond to Apple events sent by other
applications, you should read the following sections:
Components of Apple Events describes the various components of an
Apple event that uniquely identify it.
respond to any Apple Event.
receive Apple Events.
event Handlers.
Event handling routines.
data from an Apple Event.
Other sections that might be of interest are the following:
events are constructed.
events are constructed.
from a parameter of an Apple event that your application has received.
from an attribute of an Apple event that your application has received.
data from a descriptor list of an Apple event that your application has
received.
event.
own routines to perform coercions not supported by the
user as the result of receiving an Apple event.
Apple event that is passed to your Apple event handler.
responsible for disposing of Apple event data structures.
Getting Files Selected From the Finder is a code example showing how
to handle the Apple Events sent by the finder when a user double-clicks on a
document in order to launch your application.