Activate Window Keyboard Command

It would be convenient to have a key command and/or macro to select different window’s (like “Activate Key Editor Window”) to get more control of various functions. I’m currently working around this with Keyboard Maestro.

One use case in my situation is where I’m currently designing a “crop to selection” macro, where I want to be able to select a group of notes in the Key Editor and then crop the entire MIDI event to that selection. This requires edits in both the Project Window and the Key Editor to function properly.