O'Reilly logo

Cocoa in a Nutshell by James Duncan Davidson, Michael Beam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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;

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required