I’ve never really understood why the idea of creating a laptop that includes a third mouse button never really took off. Would it be all that bad to have some miniature button squeezed in between the left and right buttons on the touchpad?
The middle mouse button is important to me because I use it to activate special actions in all kinds of different applications, especially in my browser. I can middle-click on a tab to close it, or middle-click on a hyperlink to have it open in a new background tab. That kind of functionality is hard to give up once you’ve become accustomed to it, but so many laptop users just forget about it. Well, not me!
–Two Button Middle Click–
I’ve heard that most laptops simulate a middle mouse button when the user presses both the left and right buttons at the same time. I was initially excited, and thought that this would cure all of my problems. Unfortunately, it has never worked on any laptops I’ve tried.
That was my ideal solution, and I searched like a mad monkey trying to find a way to make it happen. To my dismay I was on my own because Google didn’t come through for me. Then it dawned on me that I could easily do this myself with an AutoHotKey script! In fact it only took two lines of code:
~LButton & RButton::MouseClick, Middle
~RButton & LButton::MouseClick, Middle
That essentially checks to see if both mouse buttons have been pressed down at the same time, and if they have then simulate a middle-click of the mouse. Pretty cool, huh? I also put it together in a standalone application that you can throw in your Windows Startup folder without needing to have AutoHotKey installed:
Download the Middle-Click Simulator
There is one downside to using this though. If you use a Rocker mouse gesture (holding down one mouse button and pressing the other) to navigate in an application, such as going backward/forward in a browser, you’ll be disappointed to know that it will no longer work. I’m not quite sure how I can circumvent that problem in the script, but for right now I would rather have the middle-click simulation available. It is possible to “pause” the script (a.k.a. temporarily deactivate it) from the System Tray icon if needed though.
–Middle Click Tap Zone–
Some mouse software also lets you setup a “zone” that you can tap on the touchpad to serve as the middle mouse button. Below is a screenshot from my Synaptics TouchPad configuration screen which shows that I’m about to assign the bottom-left corner of my touchpad to the middle-click action.


Thanks for this…I was wondering how or if I could do this just last night on my brand new lappy. Read my mind.
I never really use the left button since tapping the pad does the same job. So my left is assigned as right-click, and my right button is assigned as middle-click, there you go !
Check out PowerPro. It can do these and more easily w/o using multiple programs.
The Middle-Click Simulator is very well working. Thank you very much.
I use the rocker gesture to navigate between tabs in Opera. Right-Left for next tab, Left-Right for previous tab.
TBH, it should be default and everyone should be taught this shortcut and worship me as its inventor.
I have the two buttons however, I rarely have to use them. Pressing both buttons at the same time does not give me the middle click function, pressing two fingers on the pad itself however does the middle-click action.
I’ve been using both buttons to simulate middle button for ages. It’s a standard feature of Logitech’s touchpads. Nevertheless, isn’t a wireless mouse a better opt?
Glad this has helped a bunch of people!
That would take a lot of getting used to for me.
I didn’t see anything in PowerPro that would let me configure my touchpad for the middle mouse button though.
I do love that gesture as well, but I use middle click more. I normally use the backspace key for navigating backwards anyway.
That’s pretty cool, I wish my laptop’s touchpad did that.
I normally have an external mouse hooked up to my laptop, but there are always instances where it is not. When I’m on a plane, or in a public area it can be touch to whip out a mouse and have room to use it.
Very nice utility.
Unfortunately it only seems to detect clicks, and therefore doesn’t allow middle-button drags.
Would anyone have a solution for that?
I only created it to detect clicking. I don’t see any way that I could simulate a drag using AutoHotKey.
I recently found out I had this function on my touch pad and three fiingers at once activates the right click. I can’t believe I’ve never realized this no my laptop. I think they need to supply a book with the laptop outlining what all the unique shortcut are.
I wouldn’t mind having that feature, but unfortunately my laptop doesn’t support that.
Thanx a lot for that autohotkey script…….it is really cool…..thanx once again
I have a Dell, and I have been trying to use the “both buttons for middle” for about a year, and couldn’t get it to work (thought I was just clumsy). I just went into the touchpad setup (appears as an icon in the taskbar) and on the “buttons” tab, there was a drop down to define the meaning of both buttons. So I set it to “middle button click”, et voila, I now have middle button click. This is very important to me since I am a programmer, and the systems that I work on use highlight and middle click to cut and paste code (very fast) and also commands. Since I work from home some, I really needed that middle click. So I hope you have a dell – now you can set this up!
Thank you very much
if you use firefox , try instaclick addon .
Thank you so much, I just bought a new laptop that doesn’t do this automatically and was really upset about it.
Thank you!!! It was driving me crazy for a while that Synaptics got rid of the middle-click gesture for their touchpad drivers. But now that I found this, I can be at peace again. Works like a charm on Windows Server 2008 x64!
Wow. That works really well, thanks dude! Ever since i got my ibm thinkpad, i missed the middle click on my mouse/touchpad. all it does is scroll
. but now i can open tabs again =]! thanks
Thanks much for the application; I was getting incredibly sick and tired of having to right click > Open New Tab in Firefox on my Windows partition, not to mention having no way of using the navigation buttons to open in a new tab.
I blame Synaptics, for phasing out functionality, especially annoying on touchpads that are too sensitive to use tapping
First of all thanks very much for this.
I’m wondering, what is the difference between ’suspend hotkeys” and pause script?
Also, I wish there was a way to kill the icon, I’m not a fan of taskbar icons lol.
All in all, very good work. Thanks so much!
If anyones using the synaptics touchpad and has found your middle click with the two buttons doesn’t work after you’ve installed the new drivers, its because they are trying to phase it out
best just to stick with the old driver
[support.us.dell.com]
Thanks a lot for the useful post….
m also quite addicted to the middle button…
was quite frustrated when i felt that the functionality will be no more with me in the laptop…
but then found this post of yours and it made my day… !!
i had the tap zone functionality in my laptop but never knew about it…
thanks again..
This works great for opening bookmarks in new tabs, but when I use it for hyperlinks, it opens it twice. Is there a way to fix this? Thanks
i just installed this program on my new laptop and i have this same problem. using firefox 3.5
I’ve been using “Middle-Click Simulator” successfully for two years with IE.
I just switched to Firefox (3.5), and have the same problem just reported above. Using the simulated middle click on a hyperlink opens the site twice: once in a new background tab, but also in the current tab.
Another option is to use the HasBothButtonFeature registry value in Synaptics Software registry. Google for ‘HasBothButtonFeature’, you’ll find detailed instruction.
Thank you very much, had been a pain in the butt to put dimensions in my pro/e
Just what i needed thanks
Many thanks! This is just what I needed for fast picture browsing! =)
COMODO Internet Security picks it up as a trojan. Probably just overreacting.
I installed it anyway.
Thanks for the great script!