A command that determines whether a scriptable object exists.
- macOS 10.0+
An instance of
NSExists determines whether a specified scriptable object, such as a word, paragraph, or image, exists.
When an instance of
NSExists is executed, it evaluates the receiver specifier for the command to determine if it specifies any objects.
NSExists is part of Cocoa’s built-in scripting support. Most applications don’t need to subclass