Or you could get fancy and have Command+Q do nothing except if you press Command+Q again within 1/2 of a second then it would call the Quit menu.ĬontrollerMate is an amazing app. Using ControllerMate, you could map Command+Q to do nothing then have Command+Option+Q call the Quit menu entry. They can be set on a per-application basis or a global system-wide state. I use it to do many remaps and run macro scripts. It has the ability to remap any controller input (keyboard, mouse, trackpad, joystick, etc) and change what it does. Even some will listen to keypresses that are not listed as shortcuts in the menu (Photoshop for example).Ī 3rd party option is to use something like ControllerMate. It will change the shortcut shown in the menu but the application could still be listening for the Commmand+Q keypress. _DoublePressModifier_ Ke圜ode::Q, VK_COMMAND | ModifierFlag::NONE,Īs you have seen, just setting a new keyboard shortcut in the System Prefs doesn't always work. Press Command+Q twice to Quit Application _HoldingKeyToKey_ Ke圜ode::Q, VK_COMMAND | ModifierFlag::NONE, Ke圜ode::VK_NONE, Ke圜ode::Q, VK_COMMAND, Option::NOREPEAT (You can adjust the threshold time of holding by They are defined in custom_shortcuts.xml: There are also predefined settings that make sending ⌘Q require holding ⌘Q or pressing ⌘Q twice: ![]() ![]() The second autogen element changes ⇧⌘Q to ⌘Q. ![]() Without | ModifierFlag::NONE the first autogen element would also disable for example ⌥⌘Q. _KeyToKey_ Ke圜ode::Q, VK_COMMAND | VK_SHIFT | ModifierFlag::NONE, Ke圜ode::Q, ModifierFlag::COMMAND_L _KeyToKey_ Ke圜ode::Q, VK_COMMAND | ModifierFlag::NONE, Ke圜ode::VK_NONE Using KeyRemap4MacBook, you could add this to private.xml:
0 Comments
Leave a Reply. |