Assigning values to variables using Designer mode

Learn how to assign values to variables using the Designer development view.

About this task

Variables might receive default values when created, by assignment, or by other commands during script runtime. This procedure describes how to assign values to variables.

Before you begin

You must create the variable first. See how to create variables in Creating variables using Designer mode.

Procedure

To assign values to variables in your script, you need to use either the Set Variable (setVar) or Set Variables (setVars) commands.

What to do next

You can see default values by double-clicking the variable. Values are in the Value input parameter. During the script's runtime, you can debug your script and see the values in the variables in the Global variables window. For more information about debugging scripts, see Debugging scripts.