Set Argument

Assign a custom variable for use by the following sub-actions
Preview
Preview

Parameters

Variable Namerequired
Text

Enter the name of the variable you want to set.

Do not add the %percent% symbols. Those only allow you to access your variable in later sub-actions

Valuerequired
Text

Enter the new value to store with the given variable name

You can use other Variables or even manipulate existing arguments with Inline Functions
Auto Type
Toggle
default:true

By default, all values are treated as text, or string variables.

Enable Auto Type to automatically determine the type for the entered value.

For example:

  • 0 can be auto-typed to a numeric type such as int or long
  • true or false can be auto-typed to a bool

C# Usage

Set an argument to be used in subsequent sub-actions

public void SetArgument(string variableName, object value)