NSExistsCommand Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Foundation.framework
Availability
Available in OS X v10.0 and later.
Declared in
Foundation/NSScriptStandardSuiteCommands.h
Companion guide

Overview

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 NSExistsCommand.