The event ID for the receiver.
SDK
- macOS 10.0+
Framework
- Foundation
Declaration
var eventID: AEEvent ID { get }
Discussion
The event ID (a four-character code) for the receiver, or 0 if an error occurs.
The receiver must be an Apple event. An Apple event is identified by its event class and event ID, a pair of four-character codes stored as 32-bit integers. For example, the open
Apple event from the Standard suite has the four-character code 'odoc'
(defined as the constant k
in AE
, a subframework of Application
).