|
oops, I was writing over a default hotkey with my own script. Yes the bug is in the writing out of default hotkey removals.
So, if you don’t do anything but remove a default hotkey, nothing will get written out.
But, neverFear, you can just use the same language in any mel script, (you could put it in a script you named userHotkeys.mel in your prefs,(and maybe write protect it?) or you could put it directly into your userSetup.mel - or userSetup.py if you feel like putting it there.
Its the writing out that is messed up, not the reading.
What might that command be?
hotkey -keyShortcut "Space" -name ("") -releaseName ("");
the keyShortcut flag value is the actual key - here its name - in quotes
the -name flag is the command that will happen when you press it.
the -releaseName flag is the command that will happen when you release it.
It’s the same hotkey command that sets the hotkey, only we are setting it to an empty string, thus nothing will be executed.
Also, possibly a good thing to remember, the error is only in writing out the removal of default hotkeys.
So, this bit is the bit you need to add to your scripts at the top, so you don’t go erasing the hotkeys you are trying to set, if you’re overwriting with your own.
Also, you possibly could copy over the 2010 userHotkeys.mel that works for you and write protect it…
Something else you might find useful
If you want the hotbox, but don’t want the pane-popping to occur, possibly because you keep hitting it by accident, you can execute the following command in mel
Warning: this will turn off your pane popping, you will need to restart to get it back again.
hotBox -noClickCommand "";
|