Instance Method

commandDescriptionsInSuite:

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

Declaration

- (NSDictionary<NSString *,NSScriptCommandDescription *> *)commandDescriptionsInSuite:(NSString *)suiteName;

Discussion

Each command description (instance of NSScriptCommandDescription) in the returned dictionary is identified by command name.

See Also

Getting and Registering Command Descriptions

- 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).

- 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.