Creates a descriptor that represents an Apple event, initialized according to the specified information.
- macOS 10.0+
The event class to be set in the returned descriptor.
The event ID to be set in the returned descriptor.
A pointer to a descriptor that identifies the target application for the Apple event. Passing
nilresults in an Apple event descriptor that has no
keyattribute (it is valid for an Apple event to have no target address attribute).
The return ID to be set in the returned descriptor. If you pass a value of
k, the Apple Event Manager assigns the created Apple event a return ID that is unique to the current session. If you pass any other value, the Apple Event Manager assigns that value for the ID.
Auto Generate Return ID
The transaction ID to be set in the returned descriptor. A transaction is a sequence of Apple events that are sent back and forth between client and server applications, beginning with the client’s initial request for a service. All Apple events that are part of a transaction must have the same transaction ID. You can specify
kif the Apple event is not one of a series of interdependent Apple events.
Any Transaction ID
A descriptor for an Apple event, initialized according to the specified parameter values, or
nil if an error occurs.
Constants such as
k are defined in
AE, a subframework of