Carbon


Apple Event Recording Event ID Constants

Header: AppleEvents.h

Specify event IDs for events that deal with Apple event recording.

enum {
    kAEStartRecording = 'reca',
    kAEStopRecording = 'recc',
    kAENotifyStartRecording = 'rec1',
    kAENotifyStopRecording = 'rec0',
    kAENotifyRecording = 'recr'
};

Constant descriptions

kAEStartRecording

Event ID for an event by a scripting component to the recording process (or to any running process on the local computer), but handled by the Apple Event Manager. The Apple Event Manager responds by turning on recording and sending a Recording On event to all running processes on the local computer.

If sent by process serial number (PSN), this event must be addressed using a real PSN; it should never be sent to an address specified as kCurrentProcess.

kAEStopRecording

Event ID for an event sent by a scripting component to the recording process (or to any running process on the local computer), but handled by the Apple Event Manager. The Apple Event Manager responds by sending a Recording Off event to all running processes on the local computer.

If sent by a PSN, this event must be addressed using a real PSN; it should never be sent to an address specified as kCurrentProcess.

kAENotifyStartRecording

An event that notifies an application that recording has been turned on.

kAENotifyStopRecording

An event that notifies an application that recording has been turned off.

kAENotifyRecording

Wildcard event class and event ID handled by a recording process in order to receive and record copies of recordable events sent to it by the Apple Event Manager. Scripting components install a handler for this event on behalf of a recording process when recording is turned on and remove the handler when recording is turned off.

VERSION NOTES

These constants are available only in version 1.0.1 and later of the Apple Event Manager.


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