Instance Method

attributeDescriptorForKeyword:

Returns a descriptor for the receiver’s Apple event attribute identified by the specified keyword.

Declaration

- (NSAppleEventDescriptor *)attributeDescriptorForKeyword:(AEKeyword)keyword;

Parameters

keyword

A keyword (a four-character code) that identifies the descriptor to obtain.

Return Value

The attribute descriptor for the specified keyword, or nil if an error occurs.

Discussion

The receiver must be an Apple event.

See Also

Working With Apple Event Descriptors

eventClass

The event class for the receiver.

eventID

The event ID for the receiver.

- paramDescriptorForKeyword:

Returns a descriptor for the receiver’s Apple event parameter identified by the specified keyword.

- removeParamDescriptorWithKeyword:

Removes the receiver’s parameter descriptor identified by the specified keyword.

returnID

The receiver’s return ID (the ID for a reply Apple event).

- setAttributeDescriptor:forKeyword:

Adds a descriptor to the receiver as an attribute identified by the specified keyword.

- setParamDescriptor:forKeyword:

Adds a descriptor to the receiver as an Apple event parameter identified by the specified keyword.

transactionID

The receiver’s transaction ID, if any.