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.
|
|
@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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access