Instance Property


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


var selectedOutputType: String? { get set }


Getting this value provides the type of output the action is configured to produce. For example, your action may have the ability to output files and folders, or documents, depending on how it’s configured or what it encounters while processing.

The output types the action supports are specified in the action’s info.plist file. By default, this property defaults to the first output type in the info.plist file.

Set this value to explicitly specify the output type the action produces. Setting this value to accurately reflect the appropriate output helps Automator determine whether the output is compatible, or can be made compatible, with the next action in the workflow.

See Also

Getting Information About the Action

func closed()

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

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 isStopped: Bool

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