Name

NSScriptSuiteRegistry — Mac OS X 10.0

Synopsis

Instances of this class are used to manage an application’s scripting information, and as such it is an integral component in Cocoa’s built-in support for scripting. Application scripting information is supplied by script suites . A script suite is made up of a suite definition and script terminologies. Cocoa supports the two standard script suites out of the box: (Core and Text). Script suites define how an application may be controlled by scripting, and at a lower level the information provided by script suite tells the application how to translate Apple Events it receives into script commands and object specifiers. This class is used primarily internally by Cocoa’s scripting system, and as such you should never have to interact with it directly.

image with no caption

@interface NSScriptSuiteRegistry : NSObject
                                  // Class Methods
   + (void)setSharedScriptSuiteRegistry:(NSScriptSuiteRegistry *)registry;
   + (NSScriptSuiteRegistry *)sharedScriptSuiteRegistry;
                                  // Instance Methods
   - (NSData *)aeteResource:(NSString *)languageName;
   - (unsigned long)appleEventCodeForSuite:(NSString *)suiteName;
   - (NSBundle *)bundleForSuite:(NSString *)suiteName;
   - (NSScriptClassDescription *)classDescriptionWithAppleEventCode:(unsigned long)classCode;
   - (NSDictionary *)classDescriptionsInSuite:(NSString *)suiteName;
   - (NSScriptCommandDescription *)commandDescriptionWithAppleEventClass ...

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.