Fixed and Vary Parameters
For your convenience, the macro block listing the variables (Variables = []) is already created during the recording of a simple macro, but it is initially empty of variables. A simple macro can be transformed into a parameter macro. After adding variables, they can be set from the Macro Execution Control using the Parameters button.
In the macro, the variable values are described within the brackets of Variables = []. They are listed right after the header.

In the VariableStudy.py macro (Download VariableStudy.py), two variables are present as a list of two Python dictionaries. The variables are described by the parameters 'Name', and 'Type' (int : integer) and by the value of the parameter (e.g. 'BuiltinDefault' : 10.0 and 42 here). Click here to learn more about the different variable types .
When a macro contains variables, and thus is a Parameter Macro, the Parameters button and the Fixed and Vary radio buttons are available on the right upper side of the Macro Execution Control dialog.
With Fixed selected (by default), click Parameters to change the parameters for the execution of the macro.
With Vary selected, clicking Parameters opens a different parameter dialog box where parameter lists can be entered. The macro is executed several times with different parameter values combinations.