Track Visibility nightmares! Any help moving from PT?

I have another case…
I’m using two monitors…
One with project window and the other one with mix console.
I’ve defined a visibility configuration for the project window that only shows certain instrument tracks under Configuration 1, 2, 3
And in the mix console window, I’ve set another configuration that will show other audio groups.

So with this method , I could be editing midi of certain virtual instruments, and in the mix console, just the groups related to certain audio stems.
My idea was to create a key command that put both on their configuration 1, 2, or 3 at the same time (I don´t wanna sync the visibility from one to the other…because they are different). But it´s not working because unless I’m in the “active window”, the key command is not considered …
If I’m in project window, and I press the key command for “configuration 1”, it’s only applied to project window (as is the active one), but not in the mix console window that is in the other monitor.

Is there a way to solve this?
thanks