disable Keyboard


    May 06 2010 | 8:25 pm
    Hi all,
    It might be the first time i don't find the way to accomplish something in Max... and i think it might be very useful to many people.
    I would like to lock/disable the keyboard (not responding to anything) with a combo keys, lets say CMD+ALT+SHIFT+B (something not usual to type). And i would like to be able to unlock the keyboard using the same combination.
    I use popupdate to lock the mouse but i can't find any similar for the keyboard.
    I've been looking around and i did not find an easy answer, not even in command line..
    Any tips?
    Thanks in advance! j

    • May 07 2010 | 5:10 pm
      Using/locking the keyboard just for Max commands? If so, just use [key] --> [sel #] (where # represents the very unusual keyboard combination) ...this one will bang a toggle, opening and closing a gate that lets all the OTHER keypresses through for normal use in your patches. Maybe have all the [key] stuff happen in one place, then use sends for your actions.
      I also like [sprintf %c] after [key], so you can use [sel a b c d e] rather than the ASCII numbers. However, this won't work for the non-printing chars like tab, space, return, etc.
    • May 08 2010 | 10:40 pm
      Thanks but I already know sel, sprintf.... I was looking for something to entirely lock the keyboard so that CMD+Q will not quit the application. The keyboard should NOT respond to anything (non-printing chars included), so no tabs, spaces nor CMD+ALT+ESC should respond.
      I guess there is no such an 3party object / feature for that.
      too bad :(
    • Aug 08 2011 | 8:45 pm
      I also need to selectively disable keyboard commands for an installation and found this link useful (for Windows):