RunActionStep
public sealed class RunActionStep : ActionStepInvokes another predefined or saved Automator action from the current workflow.
Constructors
Section titled “Constructors”
RunActionStep()
Section titled “RunActionStep()”public RunActionStep()Methods
Section titled “Methods”
GetParamOptions(StepParameter, List)
Section titled “GetParamOptions(StepParameter, List)”public override List<Tuple<string, ParameterValue>> GetParamOptions(StepParameter param, List<ParameterValue> parameters)Returns visible predefined and saved actions as selectable nested-action values.
Parameters
| Name | Type |
|---|---|
param |
Automator.StepParameter |
parameters |
System.Collections.Generic.List{Automator.ParameterValue} |
Returns
System.Collections.Generic.List{System.Tuple{System.String,Automator.ParameterValue}}
GetParamVisibility(StepParameter, List)
Section titled “GetParamVisibility(StepParameter, List)”public override bool GetParamVisibility(StepParameter param, List<ParameterValue> parameters)Shows the force option only when the selected nested action supports bypassing its recent-execution guard.
Parameters
| Name | Type |
|---|---|
param |
Automator.StepParameter |
parameters |
System.Collections.Generic.List{Automator.ParameterValue} |
Returns
System.Boolean
Run(List)
Section titled “Run(List)”public override Task Run(List<ParameterValue> parameters)Invokes the selected predefined or saved Automator action and optionally bypasses its recent-execution guard.
Parameters
| Name | Type |
|---|---|
parameters |
System.Collections.Generic.List{Automator.ParameterValue} |
Returns
System.Threading.Tasks.Task