Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autohotkey - capture extra mouse buttons

Tags:

autohotkey

Can autohotkey capture nonstandard mouse buttons? I use a five-button mouse (Microsoft Wireless Laser Mouse 6000).

like image 868
Kimball Robinson Avatar asked Aug 19 '10 19:08

Kimball Robinson


People also ask

What button is XBUTTON2?

The XBUTTON1 and XBUTTON2 buttons are often located on the sides of the mouse, near the base. These extra buttons are not present on all mice. If present, the XBUTTON1 and XBUTTON2 buttons are often mapped to an application function, such as forward and backward navigation in a Web browser.

What is mouse button 4 in AHK?

Advanced Buttons 4th mouse button. Typically performs the same function as Browser_Back. 5th mouse button. Typically performs the same function as Browser_Forward.

What are the mouse button numbers?

All references to mouse buttons are in respect to a 3-button right-handed mouse: MB1 (mouse button 1) is the left button. MB2 (mouse button 2) is the middle button. MB3 (mouse button 3) is the right button.


1 Answers

XButton1 and XButton2 according to the documentation on autohotkey.com.

like image 169
Greg Avatar answered Sep 25 '22 13:09

Greg