NSScriptClassDescription

NSScriptClassDescription Mac OS X 10.0

This class is used by Cocoa's scripting information to encapsulate information about scriptable classes, and to provide an interface to determine characteristics and properties of scriptable objects.

figs/cocn_1392.gif

@interface NSScriptClassDescription : NSClassDescription
 // Initializers
   - (id)initWithSuiteName:(NSString *)suiteName className:(NSString *)className dictionary:(NSDictionary *)dict;
 // Instance Methods
   - (unsigned long)appleEventCode;
   - (unsigned long)appleEventCodeForKey:(NSString *)key;
   - (NSScriptClassDescription *)classDescriptionForKey:(NSString *)key;
   - (NSString *)className;
   - (NSString *)defaultSubcontainerAttributeKey;
   - (BOOL)isLocationRequiredToCreateForKey:(NSString *)toManyRelationshipKey;
   - (BOOL)isReadOnlyKey:(NSString *)key;
   - (NSString *)keyWithAppleEventCode:(unsigned long)code;
   - (BOOL)matchesAppleEventCode:(unsigned long)code;
   - (SEL)selectorForCommand:(NSScriptCommandDescription *)commandDef;
   - (NSString *)suiteName;
   - (NSScriptClassDescription *)superclassDescription;
   - (BOOL)supportsCommand:(NSScriptCommandDescription *)commandDef;
   - (NSString *)typeForKey:(NSString *)key;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes