Requests the receiver to perform its task using the specified input from the specified action.
- macOS 10.4–10.4Deprecated
The input for the receiving action. Should contain one or more objects compatible with one of the types specified in the action’s
By default, actions can only accept and provide the following types. However, by overriding this method, you can change the types your action can use:
Objective-C actions: Accepts and provides types must inherit from com.apple.cocoa.string, com.apple.cocoa.path, com.apple.cocoa.url, or, starting in OS X version 10.5 (v10.5), com.apple.cocoa.data.
Shell script actions: Accepts and provides types must inherit from com.apple.cocoa.string or, starting in OS X v10.5, com.apple.cocoa.data.
AppleScript actions: Accepts and provides types must inherit from com.apple.applescript.object.
The action from which the
inputobject was obtained.
If an error occurs, the action returns an error dictionary in this parameter. The keys and values for this dictionary are:
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.
An 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.
The input and output objects for actions are usually instances of
NSArray. If the receiver encounters problems, it should return by indirection an error dictionary that describes the error.
This method is intended to be overridden. AppleScript actions, however, usually will not need to override this method because the same functionality is provided by an AppleScript script.