Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

[Solved] AutoHotKey and Maya 2016

Br0ken
polycounter lvl 3
Offline / Send Message
Br0ken polycounter lvl 3
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.

#IfWinActive, ahk_exe maya.exe
~MButton::
send, {alt down}{mbutton down}
keywait, MButton
send, {alt up}{mbutton up}
#IfWinActive

Can anyone help me?

edit: Nevermind, I just forget to delete "~" before MButton::, now script works perfect. 


Replies

Sign In or Register to comment.