That's not a problem for us as we run off of control pads. We can also send multiple key presses using either AUTOHOTKEY or our Genovation keypad. We toggle the mic through keypads, not a mixer. On our broadcast system, opening the mic through the Genovation mutes the monitor (A1) on VM Banana and patches in (A3) headphone monitor. It also ducks the audio on Radio DJ by -14 DB for voiceover. I just want it to send LIGHT MIC ON when toggled on and LIGHT MIC OFF when toggled off for the studio clock.
In that case, nicely solved!

As i said i am running a couple of the things through a Raspberry Pi. I don;t know much about programming the thing but it's a very nice "toy" to play with. It can even run a stand alone audio processing by StereoTool. It's a little hard on the little one but it can do it.
Now while i'm typing this, maybe somebody with some Linux coding knowledge, could use the Pi to build some interface from the GPIO of the Pi to a network protocol that works with the clock or any app for that matter.