Midi CCs to bring instances (and other software) in focus?

Curious if anyone knows if there is a way to assign a midi cc to a GP instance that would bring that instance to the forefront of the desktop? I’d like to be able to assign a midi cc to each instance and Circular Labs Mobius, or even if I could assign a footswtich that would cycle through them, that would be better than what I have now which is stop playing, press touchscreen at least once (usually more), continue playing :laughing:

Never tried it, but here are some ideas.

1 Like

Awesome, thanks for the idea, will try and let you know

Autohotkey! This is cool.

I modified an AHK script to create keyboard shortcuts to bring into focus eight GP instances, Mobius and Reaper and then, as suggested, used Bome to translate midi CC’s to each keyboard shortcut. And it works!

Also have a keyboard shortcut to cycle through them. Here is the AHK script I am using for this:

SetTitleMatchMode, 2 ;// matches partial window titles

GroupAdd, MGPT, 1dr ;// adds window title 1dr to group MGPT

GroupAdd, MGPT, 2dr

GroupAdd, MGPT, 3dr

GroupAdd, MGPT, 4dr

GroupAdd, MGPT, Guitar

GroupAdd, MGPT, SYNTH

GroupAdd, MGPT, Vox

GroupAdd, MGPT, Bass

GroupAdd, MGPT, Möbius

GroupAdd, MGPT, REAPER

F1:: ;// hotkey
WinActivate, 1dr ;// activate window with this title
return

F2:: ;// hotkey
WinActivate, 2dr ;// activate window with this title
return

F3:: ;// hotkey
WinActivate, 3dr ;// activate window with this title
return

F4:: ;// hotkey
WinActivate, 4dr ;// activate window with this title
return

F5:: ;// hotkey
WinActivate, Guitar ;// activate window with this title
return

F6:: ;// hotkey
WinActivate, SYNTH ;// activate window with this title
return

F7:: ;// hotkey
WinActivate, Vox ;// activate window with this title
return

F8:: ;// hotkey
WinActivate, Bass ;// activate window with this title
return

F9:: ;// hotkey
WinActivate, Möbius ;// activate window with this title
return

F10:: ;// hotkey
WinActivate, REAPER ;// activate window with this title
return

F11:: ;// hotkey
GroupActivate, MGPT ;// activate next window in this group
return

There are a set of GP Script functions related to bringing GP windows to the front. I haven’t really explored them to know whether they would work for this.

https://gigperformer.com/docs/GPScript40/content/reference/list-of-functions.html#windows

3 Likes

I got this working great so far with autohotkey but this is good to know, could find it useful in The Future ™ :slightly_smiling_face:

I’m glad that it works :beers:

1 Like