Dragonfly Help > Customizing and Extending Dragonfly > Macros > Playing Back Macros

Playing Back Macros

After you record a macro, you can play it back. Playing back a macro automatically runs all of the interface actions you recorded using a single action, unless a user input is required.

Macro Player dialog

Macro Player dialog

Macro Player controls




View File

Opens the current macro file. Macro files are written in Python and can be viewed and edited in a simple text editor or with a developer application such as PyCharm.


Saves any changes you made to the macro you are playing.


Reloads the selected macro.

You can reload a macro to discard any changes you made while editing the macro in the Macro Player dialog. Reloading a macro will also apply any changes you made to the macro file externally. For example, to the Python file itself.


Deletes the selected macro or step.


When a macro step is set to Execute, the step will be executed automatically.


When a macro step is set to Pause, the macro will stop at the paused step and wait for a user input.


When a macro step is set to Skip, the macro will skip the step and continue playback.

Play Single Step

Plays the macro step-by-step.

Play All

Plays the macro, either to the end or to point that a user input is required.


Stops playback.

If the Automatically select the only occurrence when there is a single element available option is checked, the macro will automatically insert the required object or element when needed if no additional options are available. If multiple elements are available, the macro will wait for the required user input.

You can view information about a selected macro by expanding the About macro box, as shown below.