I program my key switches to be lower than my 88 note midi controller (mainly so I don't accidentally hit them during a recording). So when i want to transpose I head to Piano Roll View and with the smart tool grab all the live notes and xpose. The key switches are easy to avoid cause they are so low on the graph.
I use a Korg micro keyboard i have placed under my monitor to play the key switches. I try to program all the key switches to be the same, so for example F-1 is legato in all the different libraries.
I like the idea of using a separate track and color coding it.
I used to have the Select>By Filter that brundlefly suggested programed with a keybind that worked well. Not sure why/when I stopped using that.