@Dilorenzo I am sorry that you have spent so much time .
Maybe I didnāt explain clear enough: you donāt need Keyboard maestro to do this, at all.
I made (here below) a short video (less that two minutes) with the complete workflow. The frames editing must be done only once (since all parts use the same template), and you can also create a ācustom First page templateā with the repositioned frames that you can apply only to the needed parts. Please feel free to ask if something is not clear. It really takes very little time to do.
And this is not a workaround, but rather a customisation for specific needs, using the powerful possibilities of Dorico (and a little help from a text editor in this case) :-):