Set Variable Action

Description

The Set Variable Action is used to change the contents of a previously created AutoMate™ variable. The action replaces the current contents of the variable with those specified by the New Value parameter of the step.

Set Variable Action Properties Dialog
Set Variable dialog

Parameters

Variable Name
The name of the variable to populate with the new value. This variable must have already been created using the Create Variable action.

New Value
The new value to place inside the variable. All values are converted to strings before being placed inside the variable.

Hide Variable Contents
When checked, AutoMate will protect the variable’s contents in both the “Create Variable” dialog box (by replacing the visual text with asterisks) and in the task file (by encrypting the contents to avoid clear text contents from appearing in the file). Use this option if you require that the variable’s contents be hidden from view when editing or running the task. The variable contents are decrypted when the task is run.

Related Topics:

Create Variable Action

Input into a variable Action

Send Variable Action

Populate Variable with Clipboard Action

Populate Clipboard with Variable Action

Variable Functions Action

Inline Expressions

Other Available Actions