Hi!
I'm trying to assign MMB to pan function in Maya 2016, but it works only after several MMB clicks. RMB, LMB and other keys works as needed, so problem only with MMB. Same script in Max (with MMB) also works fine.
~MButton::
send, {alt down}{mbutton down}
keywait, MButton
send, {alt up}{mbutton up}
#IfWinActiveCan anyone help me?
edit: Nevermind, I just forget to delete "~" before MButton::, now script works perfect.
Replies