Looking to sync "zoom to locators" between full key editor and project window

Hello, is there a way to build a macro with cubase or third party to :
I work with both project window and key editor split in my main screen

  • when zoom to locators key command is hit : trigger zoom to locator + focus to the other window (key editor or project window), trigger it again + focus back on previous window

I tried with bome midi translator but since it need a .exe to focus on a windows …

What if your Macro started with the Editor Window closed, Zoom in the Project Window, then open the Editor for whatever is Selected in the Project Window, this will leave the focus on the Editor Window so you can now Zoom there.

that would be smart
but in fact I am working with both the key editor and project window open at the same time on the same screen splitted !