Instance Method

registerCommandDescription:

Registers command description commandDesc for use by Cocoa’s built-in scripting support by storing it in a per-suite internal dictionary under the command name.

Declaration

- (void)registerCommandDescription:(NSScriptCommandDescription *)commandDescription;

Discussion

Also registers with the single, shared instance of NSAppleEventManager to handle incoming Apple events that should be handled by the command.

See Also

Getting and Registering Command Descriptions

- commandDescriptionsInSuite:

Returns the command descriptions contained in the suite identified by suiteName.

- commandDescriptionWithAppleEventClass:andAppleEventCode:

Returns the command description identified by a suite’s four-character Apple event code of the class (eventClass) and the four-character Apple event code of the command (commandCode).