Virtual MIDI Keyboard action script .... bug(?)
I've created a custom action:
-View: Show Virtual MIDI Keyboard
-Virtual MIDI Keyboard: Send all input to VKB
And I've assigned a shortcut to it (F2).
It behaves somewhat strangely.
If I first turn on the keyboard and set the "send all" option manually and then only use the shortcut to toggle, everything is ok.
If, instead, I turn the "send all" option manually (but don't turn off the VKB), then when I press F2 to turn off the keyboard and F2 again to turn it on, the "send all" option isn't turned on.
The script works likes a toggle obviously, but in a very strange way: by pressing F2, after turnign off the "send all" option manualy, it turn's it on when the keyboard is not visible and when you press F2 again, it turn's it off (now that the keyboard is visible). It is logical, but it's not very practical.
I'd like to know whether I can make a script that sets the state of the "send all input" option so that it matches the VKB's visibility?
I don't recall having this problem in version 4.x (but then again, maybe I was just very, very consistent in using only the keyboard shortcut as a toggle).
|