Carbon


Event Class Constants

Header: AppleEvents.h

Specify the event class for an Apple event.

enum {
    kCoreEventClass = 'aevt'
};

Constant descriptions

kCoreEventClass

A required Apple event that all applications must support.

Apple events are identified by their event class and event ID attributes. The event class is the attribute that identifies a group of related Apple events. The event class appears in the message field of the event record for an Apple event. For example, the four required Apple events (Open Application, Open Documents, Print Documents, and Quit Application) have the value 'aevt' in the message fields of their event records. This value can be represented with the kCoreEventClass constant.

Groups of related events are known as suites. For example, the common events that most applications support are grouped in the Standard Suite. The Standard Suite includes the four required events of the Core suite, as well as such events as Count, Delete, and Make.

AppleScript defines suites that provide terminology for Text, Database, Macintosh Connectivity, and other types of related operations. The terms defined in the AppleScript suite itself make up the largest suite. These terms are global to AppleScript, and are available to your application even if your 'aete' resource doesn’t explicitly include them.

Only a small number of event classes are shown here. For a more complete listing, see the Apple Event and Scripting header files or the Mac OS Registry, a database collection of Apple Event and Scripting information distributed with AppleScript SDKs.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)