Key binds for extra mouse buttons, here's my AHK script :)
Just found this sub the other day, seems nice!
Here's my AHK script to bind keys to extra mouse buttons. Using a Logitech mouse with two thumb buttons, mbutton is scroll click
SetTitleMatchMode, 1
#IfWinActive, Terraria
;grapple
XButton1::
send, {e down}
sleep, 60
send, {e up}
return
;heal
XButton2::
send, {h down}
sleep, 60
send, {h up}
return
;mount
MButton::
send, {r down}
sleep, 60
send, {r up}
return
Maybe someone will find this useful!
- Goto http://www.autohotkey.com/ and install
- Open up a text file and paste my code, save as .ahk file
- Right click it and compile script
- Run your new .exe
- Profit
Posted Jul 16, 2015, 5:32 AM UTC
70