Instance Method


Resets the receiver to its initial state.


func reset()


Resetting causes the action to release its output generated from the current execution of the workflow.

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 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 stop()

Stops the receiver from running.

func willFinishRunning()

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