Adverti horiz upsell

MMtoKey 1.2.6 for Maya (maya script)

One hotkey for all tasks!

License
Button download
1,364 Downloads

Compatibility

  • 2019, 2018, 2017, 2016

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:07/27/2014
Last Modified:06/14/2020
File Size: 21.2 KB

Keywords

marking menu, Hotkeys

Feature Request

Integrate functionality to the Caps Lock Button In Maya

Status:rejected
Date:02/01/2016
Submitted by:Snatcher Snatcher
Hi FormJune, Do you think it's possible to make the MMtoKey be bound to the Caps Lock key in Maya via Python? At the moment i'm running Auto Hotkey software, to overrule the default Caps Lock behavior to act like the \ button. The \ I have bound to MMtoKey. But I Personally believe the Caps Lock isn't used at all in Maya. And it's a pretty big button that is perfect for the task. Would be ideal if I didn't have to run AutoHokey in the background, if it would be integrated to this button by default? Also on other systems where I don't have Autohotkey installed. It would then still work. What do you think, can this be done?

Comments on this feature request:

  • FormJune

    FormJune said over 6 years ago:

    Hi Snatcher, There's a way to make this possible, but in that case you have to say "good bye" for autoloading script and load it manually every time Maya started. So, there's the script. Just set your display size and replace MMtoKey.press() and MMtoKey.release() with suitable commands from hotkey editor. And before launch replace every "_" with " " (space). There's the code in bottom. ############################ from PySide import QtGui import MMtoKey def keyPressEvent(event): ____if event.key() == 16777252: ________MMtoKey.press() def keyReleaseEvent(event): ____if event.key() == 16777252: ________MMtoKey.release() win = QtGui.QMainWindow() win.resize(1366, 768) MMtoKey.MMtoKey.ui.mayaWindow().setParent(win) win.keyPressEvent = keyPressEvent win.keyReleaseEvent = keyReleaseEvent win.show() ################################## thanks, Andrey

Post a comment: