Requests the receiver to perform its task using the specified input.
- macOS 10.7+
The input for the receiving action. Should contain one or more objects compatible with one of the types specified in the action’s
If an error occurs, the action returns an
NSErrorobject in this parameter. For actions running AppleScript code, the following keys may be specified in the
NSError, and they will be honored.
OSAScript(a string constant) — The value for this key is an instance of
NSNumberwhose integer value indicates an error code. See the header file
Macin the Carbon Core framework for a list of valid error codes, particularly the section on OSA errors.
OSAScript(a string constant) —The value for this key is an instance of
NSStringdescribing the error.
NSArray object containing one or more objects of a data type compatible with a type specified in the receiving action’s
AMProvides property. If the receiver does not modify the data passed in
input, it should return it unchanged. If the receiver does not have any data to provide, it should return an empty
The input and output objects for actions are usually instances of
NSArray. If the receiver encounters problems, it should return by indirection an
NSError object that describes the error.
This method is intended to be overridden.