An instance of NSGet​Command gets the specified value or object from the specified scriptable object: for example, the words from a paragraph or the name of a document.


When an instance of NSGet​Command is executed, it evaluates the specified receivers, gathers the specified data, if any, and packages it in a return Apple event.

NSGet​Command is part of Cocoa’s built-in scripting support. It works automatically to support the get command through key-value coding. Most applications don’t need to subclass NSGet​Command or call its methods.

For information on working with get commands, see Getting and Setting Properties and Elements in Cocoa Scripting Guide.


Inherits From

See Also

Related Documentation