Is there any way to bind mouse buttons in autohotkey?
Printable View
Is there any way to bind mouse buttons in autohotkey?
yes
LBUTTON
RBUTTON
Thank you so much!Quote:
Originally Posted by Djarid
Is there a way to map buttons 4 and 5 out of curiosity?
Thank you
Try XButton1 and XButton2
quote from the autohotkey helpfile:
If it doesn't work use your mouse software to assign button 4 and button 5 to an obscure keypress.Quote:
The fourth button (XButton1) and the fifth button (XButton2) might be assignable if your mouse driver allows their clicks to be seen by the system. If they cannot be seen -- or if your mouse has more than five buttons that you want to use -- you can try configuring the software that came with the mouse (sometimes accessible in the Control Panel or Start Menu) to send a keystroke whenever you press one of these buttons.