Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When browsing the internet or playing browser games i always accidentally hit the button near my thumb on my G5 mouse. This button causes the browser to go back a page every time its pressed and can be very annoying. Uberoptions and SetPoint is too much to depend on for something so little, I'm sure there is something easier I can do?

share|improve this question
Are you sure you are holding the mouse right? If so your thumb should be below the buttons and holding it in a way that your fingers can't slip to the button on accident. – Tom Wijsman Sep 17 '09 at 15:45
up vote 6 down vote accepted

The button you are referring to is Mouse4 (referred to as XButton1 by AHK) which enables backward navigation on mice. I had the same problem, I just added another line to my massive AutoHotkey script:


will do the trick. XButton is actually derived from Windows mouse input dating back to Windows 2000 when Microsoft supported the five-button Microsoft IntelliMouse Explorer. More on it here.

share|improve this answer
Ahhh, AHK- the answer to all of life's difficulties. Do you know of a script to make coffee and bring it to me? +1 – outsideblasts Sep 16 '09 at 3:39
Given the correct outputs, I think AHK probably could make and bring you a cup of coffee :P I love autohotkey – Phoshi Sep 16 '09 at 19:57

To be fair, it's a useful function. Thusly, I'd do this

If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500)
    Send {XButton1}

Which will press the key on a double-press, but not a single. (and it stacks from there, a triple press still registers as being another click, so this way you don't lose any functionality, just have to press the key an additional time)

share|improve this answer

Control Panel > Mouse

There should be a buttons tab where you can set the actions that each button does. I've never used Logitech mice but my Microsoft Sidewinder mouse has options to disable and rebind any mouse key.

share|improve this answer

You must log in to answer this question.