Hello, I am looking to build a preset that does the following :
When the keyboard key ‘9’ is pressed
If the window ‘Cubase Pro Project’ is in focus
Put the window ‘Key Editor’ in focus
Send the key ‘9’ again
Put the window ‘Cubase Pro Project’ in focus again
If the window "* If the window ‘Key Editor’ is in focus
Put the window ‘Cubase pro project’ in focus
Send the key ‘9’ again
Put the window ‘Key Editor’ in focus again" is in focus
The key ‘9’ perform a zoom to locators function, but since the zoom function in cubase is not in sync between the two windows, and I like working in split screen like that, I am looking for a way to sync the zoom.
I think it might be too complex to perform for BMT, the only application is the list of the outgoing action is ‘Cubase 13.exe’
Hi, please find the following. It should be pretty close but on 100%. You might need to play with the timing of the keystrokes a bit. Also I had to use as incoming keystroke instead of 9 because otherwise sending the keystroke would create an infinite loop of sending and triggering the incoming 9.
I use global variables ga and gb to determine which application is currently focused. I use the global variable gc to determine where to focus back once the keystroke is sent. I use a 200ms watchdog timer that triggers the return.
The rules, do a combination of determining what is focused to determine whether focus needs to be send an I use ‘Perform’ heavily within rules in the order I want things done.
Well I was hoping the Cubase 13 could handle Windows injected events so I gave it a try but it doesn’t look that Cubase supports it. Well it was worth a shot.
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz