Instance Method


Stops the receiver from running.


func stop()


The output acquired by the action during execution of the current workflow is still accessible to Automator.

See Also

Controlling the action

func finishRunningWithError(Error?)

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

func reset()

Resets the receiver to its initial state.

func runAsynchronously(withInput: Any?)

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

func run(withInput: Any?) -> Any

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

func willFinishRunning()

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