Affinity Photo supports a powerful and intuitive macro recording and playback feature, presented as the Macro panel. It allows you to record multiple operations and then play them back sequentially as one action.
Through the Macro panel, you can record any operation in Photo; from applying a Gaussian Blur to adding a gradient fill. It is hugely useful for workflow purposes as you can record common workflow steps and apply them to your documents in a single click. Additionally, you can exclude operations from the recording if they were performed accidentally or are no longer needed, and expose certain parameters to the user for configurable playback.
Macros can be saved locally (they appear in the Library panel) and exported to an .afmacro file format for sharing and re-importing.
To record a macro:
On the Macro panel, click the Start recording icon.
Perform the operations you wish to record. They will appear one by one in the macro operation list.
(Optional) Uncheck any operations you do not wish to include (e.g., if they are no longer required).
When you are finished recording, click the Stop recording icon.
(Optional) To continue recording the macro, click the Start recording icon again.
(Optional) To play back and preview your macro, click the Play icon.
(Optional) To retrospectively change parameters on a particular operation, click the Settings icon next to the operation. This is useful for fine tuning your macros, or quickly creating variations (e.g., Moderate, Standard, Extreme, etc).
(Optional) Within the Settings dialog for a recorded action, enable the Eye icon to expose the parameter to the user (making it interactive) when the macro is run.
To reset (clear) the macro operation list:
With one or more operations listed, click the Reset icon.
To save a macro:
Once you have recorded your macro, click the Add to Library option.
You will be prompted to choose a category and enter a name for your recorded macro. Enter a name and click OK.
The Library panel will become visible with the saved macro appearing in its library category.
To scale/align a macro to the current document:
(Optional) At the bottom of the Library panel, choose a scaling option from the left-hand menu to apply to the macro's drawing actions.
(Optional) From the right-hand menu, choose whether the macro's drawing actions are aligned to one of the corners or the center of the current document.
Click the macro you want to run.
To export a macro:
Once you have recorded your macro, click the Export option.
A file export dialog will then appear. Choose where to export your macro and name it accordingly, then click Save.