Contents

appleEventCodeForArgument(withName:)

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

Declaration

func appleEventCodeForArgument(withName argumentName: String) -> FourCharCode

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