Name

NSScriptExecutionContext — Mac OS X 10.0

Synopsis

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.

image with no caption

@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;

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.