Log in

View Full Version : Mouse Clicks



x82nd
11-07-2007, 01:58 PM
Is there any way to bind mouse buttons in autohotkey?

Djarid
11-08-2007, 08:38 AM
yes


LBUTTON

RBUTTON

x82nd
11-08-2007, 12:28 PM
yes


LBUTTON

RBUTTON

Thank you so much!

x82nd
11-09-2007, 01:28 AM
Is there a way to map buttons 4 and 5 out of curiosity?

Thank you

jrox
11-09-2007, 02:11 AM
Try XButton1 and XButton2

quote from the autohotkey helpfile:



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.


If it doesn't work use your mouse software to assign button 4 and button 5 to an obscure keypress.