This documentation is for Macro Recorder v4 beta. Click here the for current production version 3 documentation.
Parameter Change
Macro Recorder Enterprise Edition can change parameters of other actions for each repetition (by using either the goto or repeat action). It can increment/decrement a parameter, randomize parameters and use a list of parameters in file to replace static parameters of your actions:
Randomize
The Randomize parameter action replaces the defined value type of all subsequent macro actions until the specified label with a random number in a customizable range.
Example: This randomize parameter action replaces the X coordinate with a random number between 100 and 500:
The random parameter overwrites any specified value in the subsequent actions until the click action with the custom label "RandomClicks".
In this example script, the X and Y coordinate of the first two clicks are randomized on each playback loop:
The last click action will not be affected by the randomization actions as it is not between the randomization actions and the label "RandomClicks".
Increment
The increment parameter action inc/decrements the defined value type of all subsequent macro actions up to the specified label.
Example: This increment parameter action increases the delay or timeout time by 150 for each replay (excluding) of the next action:
Any subsequent action following the next action is not affected by this parameter action in this example.
Parameter list
Sample application - video tutorial
The parameter list action replaces the defined value type of all subsequent macro actions until the specified label with one line of list of parameter values (or text).
Example: This parameter list action replaces the text field of the next action with the an item of the specified list (line-by-line):
In the first playback repetition, it takes the text "Buggatti", on the second repetition, it takes "Detomaso", etc.
You can either enter the list manually in the input box or read the list from a *.txt plain text file.
To cycle through the parameter list, you must cycle by using either goto or repeat. The parameter list restarts with the first item of the list on every cycle of the macro (as configured in the playback properties).
The cycle loop must include the action you defined in the parameter list action under "Apply the achange to all actions until label". The list pointer is incremented when the macro loop reaches the defined action.
Example: To cycle through 10 items of the list, do not set playback repetition to 10. Instead, use the repeat action and set it to 10 repetitions.