This tab lists all variables available for use in the macro. Use this option to create, edit or delete variables.
Script Editor > Variables Tab
The variable type is listed in this column.
Expand the Variable Type to view the variable names.
This column displays the number of array elements associated with the variables.
If the Global check box is selected for a variable, the variable values are available to other macros. The values may be passed using the Macro Run command or the Variable Save and Variable Restore commands.
Add, Properties, Delete Buttons
The Add, Properties and Delete buttons provide options to create a new variable, edit an existing variable or delete one.
Click on the Add button to create a new variable for use in the macro. The Variable Properties window, as shown below, opens, allowing the creation of additional variables. This option does not allow for assigning values to a variable. Use this function to create the variable name and type. Use the Variable commands to assign values to variables.
Script Editor > Variables Tab > Add Button
Assign a name to the variable, preferably something that is easy to remember or that identifies the variable. In the example above the variable is named "sales". Variable names may not exceed 31 characters.
üNote: If assigning original names to variables, instead of using T, D, etc., then the following characters are not allowed in the variable name: [ ] < > , . - + = \ | / * %
Select from the five different types of variables. The example above displays the Text Variable option.
Create as an array
Select this option to set the variable as an array and then choose the number of elements to make available in the array.
Select the number of elements to place in the array. In the example above, 30 elements have been selected, allowing for the use of up to 30 variables in the array. Array elements start with  and not . The variable format looks like the following:
Make this variable available to macros called by this macro
The variable value may be passed between macros when using the Macro Run command or when using the Variable Save and Variable Restore commands.
When this option is selected the variables are also referred to as Global variables, because they are available to other macros. When not selected, the variable values are local and may only be seen in the current macro.
Highlight a variable that has already been created. Click on the Properties button in order to edit the variable using the Variable Properties window.
Highlight a variable that has already been created. Click on the Delete button in order to remove the selected variable.