Instance Method

appleEventCodeForArgumentWithName:

Returns the Apple event code for the specified command argument of the receiver.

Declaration

- (FourCharCode)appleEventCodeForArgumentWithName:(NSString *)argumentName;

Parameters

argumentName

The argument name (used as a key) for which to obtain the corresponding Apple event code.

Return Value

The code for the specified argument.

See Also

Getting Command Argument Information

argumentNames

Returns the names (or keys) for all arguments of the receiver’s command.

- isOptionalArgumentWithName:

Returns a Boolean value that indicates whether the command argument identified by the specified argument key is an optional argument.

- typeForArgumentWithName:

Returns the type of the command argument identified by the specified key.