PRIMER 22.1

Recording a Macro

Recording a Macro

To record a macro press the Record button at the top of the panel. Give a filename for the macro in the textbox or press the folder icon to select a new file location. Macro files in PRIMER should have the extension prm (PRimer Macro).

Once a filename has been given the Start recording button will become active.

A name and a description for the macro can also be given for the macro. These will be saved in the macro as MacroName() and MacroDescription() commands and are then used as the name and hover text for a button in the macro panel.

Press Start recording. Any commands that you now do in PRIMER will be written to the macro file.

The button will turn red and read Stop recording.

When you have finished recording the commands you want press the Stop recording button. The file will be closed and PRIMER will stop recording commands.