Shortcuts are often more stable than mouse coordinates because they do not depend on the exact position of a button.
Why shortcuts can be stable
Yes. A keyboard recorder can capture modifier combinations and replay them in order while the correct app has focus.
Capture the sequence
In MacroLoop, record the shortcuts at a deliberate pace and include any app switches or pauses they require. Reopen the same starting document and run one rehearsal.
App focus is the failure point
A shortcut can mean something different in another app. Never assume focus moved correctly after a slow launch, dialog, or notification.
THE TAKEAWAY
Shortcut automation works best with an explicit starting app and visible focus checks.