Available in OS X v10.0 and later.
An instance of
NSExistsCommand determines whether a specified scriptable object, such as a word, paragraph, or image, exists.
When an instance of
NSExistsCommand is executed, it evaluates the receiver specifier for the command to determine if it specifies any objects.
NSExistsCommand is part of Cocoa’s built-in scripting support. Most applications don’t need to subclass