Not as powerful and elegant (but also not as complex and time consuming to implement) would be to simply add the possibility to pop up a dialog in which we could instruct Cubase to run a keystroke macro N times.
Or, another approach: ‘Run Macro on all Selected Parts’
The point is that a keystroke macro itself saves us from having to manually execute a whole sequence of commands one-by-one.
The next step beyond that is to be saved from having to manually execute a whole sequence of keystroke macros one-by-one.