An instance of
NSGetCommand gets the specified value or object from the specified scriptable object: for example, the words from a paragraph or the name of a document.
- macOS 10.0+
When an instance of
NSGetCommand is executed, it evaluates the specified receivers, gathers the specified data, if any, and packages it in a return Apple event.
NSGetCommand 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
NSGetCommand or call its methods.