Macro to update preset values

When swapping a ML fixture in my rig I often have to make small adjustments to the pan/tilt values of the fixture's presets to account for inconsistencies in the fixture itself.

As an example, I need the macro to edit presets 1 thru 5000 and adjust the pan value for the last selected fixture by +1 degrees.

Below is what I have at the moment, which works when run in the foreground but not in the background. Ideally I want it to be a background macro.

Are there any techniques that might work for this?!

Related