Instance Method

closed()

Invoked by Automator when the receiving action is removed from a workflow, allowing it to perform cleanup operations.

Declaration

func closed()

Discussion

This method is intended to be overridden, so that your action can perform its specific cleanup operations.

See Also

Getting Information About the Action

var ignoresInput: Bool

A Boolean value that indicates whether the action acts upon its input or the input is ignored.

var name: String

The name of the action.

var output: Any?

The action’s output.

var progressValue: CGFloat

A float value between 0 and 1, which indicates how far along the action is while processing.

var selectedInputType: String?

The type of input, in UTI format, of the input received by the action.

var selectedOutputType: String?

The type of output, in UTI format, of the output to be produced by the action.

var isStopped: Bool

Indicates whether the user clicked the stop button on the parent workflow.