MonobjcMonobjc Documented Class Library
NSScriptCommandError Enumeration
NamespacesMonobjc.FoundationNSScriptCommandError

NSScriptCommand uses the following error codes for general command execution problems:

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSScriptCommandError
Public Enumeration NSScriptCommandError
public enum class NSScriptCommandError
Members
MemberDescription
NSNoScriptError

No error.

Available in Mac OS X v10.0 and later.


NSReceiverEvaluationScriptError

The object or objects specified by the direct parameter to a command could not be found.

Available in Mac OS X v10.0 and later.


NSKeySpecifierEvaluationScriptError

The object or objects specified by a key (for commands that support key specifiers) could not be found.

Available in Mac OS X v10.0 and later.


NSArgumentEvaluationScriptError

The object specified by an argument could not be found.

Available in Mac OS X v10.0 and later.


NSReceiversCantHandleCommandScriptError

The receivers don’t support the command sent to them.

Available in Mac OS X v10.0 and later.


NSRequiredArgumentsMissingScriptError

An argument (or more than one argument) is missing.

Available in Mac OS X v10.0 and later.


NSArgumentsWrongScriptError

An argument (or more than one argument) is of the wrong type or is otherwise invalid.

Available in Mac OS X v10.0 and later.


NSUnknownKeyScriptError

An unidentified error occurred; indicates an error in the scripting support of your application.

Available in Mac OS X v10.0 and later.


NSInternalScriptError

An unidentified internal error occurred; indicates an error in the scripting support of your application.

Available in Mac OS X v10.0 and later.


NSOperationNotSupportedForKeyScriptError

The implementation of a scripting command signaled an error.

Available in Mac OS X v10.0 and later.


NSCannotCreateScriptCommandError

Could not create the script command; an invalid or unrecognized Apple event was received.

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)