I have a mouse with only two buttons but I still need to use the middle mouse click for some programs. Is there a way to emulate the middle mouse click (e.g. by adding a keyboard shortcurt) in Windows 7?

link|improve this question
feedback

migrated from stackoverflow.com Aug 21 '11 at 16:38

This question came from our site for professional and enthusiast programmers.

3 Answers

If you are at all familiar with AutoIt or Autohotkey you could map any button you like to function as the middle mouse button. If you're not familiar with them, it will take less than 10 minutes to download, install and learn the syntax required to do this.

link|improve this answer
feedback

The functions you're looking for are RegisterHotKey and SendInput.

link|improve this answer
Note: this refers to how to code this using the win32 API – soandos Dec 1 '11 at 8:12
feedback

Did you try Shift+Leftclick or something similar? Some laptops use that combination to simulate middle button. Or click both buttons.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.