Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

AutoHotKey is excellent keyboard customisation and automation utility. I have configured it for Alt-Tab using my mouse:

~MButton & WheelDown::AltTab
~MButton & WheelUp::ShiftAltTab

I am using Windows Vista and instead of using Alt-Tab, I would like to configure the mouse buttons for Win-Tab (Flip-3D). Is there any way to do that?

share|improve this question
up vote 3 down vote accepted

Clicking the middle button should activate Flip 3D, then scrolling up or down will move the windows accordingly. The problem is that keeping MButton and MWheel up or down mapped to open Flip 3D will cause problems, as every scroll will attempt to relaunch the application (and probably close it) so I removed the MButton part.

~MButton::send ^#{Tab}
WheelDown::send { down 1 }
WheelUp::send { up 1 }
share|improve this answer
Thanks for the answer. It gives compilation error but it works when I needed to write send in all lines (just like first one). Please can you fix this so that I can accept the answer. – Hemant Sep 21 '09 at 5:44
changed it a bit tell me if it works – John T Sep 21 '09 at 5:45
wooo...It compiles well but it when I wheel-down after clicking middle mouse button, it keeps on rotating instead of flipping just one window. – Hemant Sep 21 '09 at 5:48
whoops, sorry about that haha. Give it a try now. – John T Sep 21 '09 at 5:50
Works like a charm. Thanks. – Hemant Sep 21 '09 at 5:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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