Instance Method

willFinishRunning

Invoked by Automator when the receiver has essentially completed its run phase.

Declaration

- (void)willFinishRunning;

Discussion

This method is intended to be overridden only by actions that need to make asynchronous calls. An action can use this method to perform cleanup operations, such as closing windows and deallocating memory.

See Also

Controlling the action

- didFinishRunningWithError:

Sent by the receiver to itself when it has finished running asynchronously.

Deprecated
- finishRunningWithError:

Causes the action to stop running and return an error, which, in turn, causes the workflow to stop.

- reset

Resets the receiver to its initial state.

- runAsynchronouslyWithInput:

Causes Automator to wait for notification that the receiver has completed execution, which allows the receiver to perform an asynchronous operation.

- runWithInput:error:

Requests the receiver to perform its task using the specified input.

- runWithInput:fromAction:error:

Requests the receiver to perform its task using the specified input from the specified action.

Deprecated
- stop

Stops the receiver from running.