NSScriptExecutionContext

NSScriptExecutionContext Mac OS X 10.0

Every scripting command is executed within some context that determines which objects are involved in the command. This class declares the interface to the shared application object that represents the execution context of scripting commands.

figs/cocn_1396.gif

@interface NSScriptExecutionContext : NSObject
 // Accessor Methods
   - (void)setTopLevelObject:(id)obj;
   - (id)topLevelObject;
   - (void)setObjectBeingTested:(id)obj;
   - (id)objectBeingTested;
   - (void)setRangeContainerObject:(id)obj;
   - (id)rangeContainerObject;
 // Class Methods
   + (NSScriptExecutionContext *)sharedScriptExecutionContext;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes