Disable 'key' object when in edit mode?
I use the 'key' object to create keyboard shortcuts on almost every key on my laptop. Very handy for performance, but obviously it can be irritating when I'm in editing mode, and all those keys start accidentally triggering things as I type. Is there any easy solution to this problem?
I thought about sending the key output through a gate, which I could then turn off with (yet another) keyboard command when I start editing. But I'd have to remember to do that every time I go into edit mode, and besides it's a pain. (Also, I couldn't use a key command to re-enable key when I'm done editing!)
Thanks! I really need to learn javascript at some point, ha.
At any rate, I'd need to install the code in each subpatch, right?
It is meant to sit behind the key object. In this form it only checks if the patcher containing the js is locked. But it could probably be modified to walk the patcher tree and look for any unlocked patcher.
Thanks so much for this! Looking forward to trying it out!