Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Yesterday I asked how I could disable or reassign the infamous CAPS LOCK key. The accepted answer pointed me to AutoHotkey, a powerful free, open-source utility for Windows for automating key strokes and mouse clicks.

The tool includes a script language and even a compiler (!) and it seems to work very well. For example, I managed to map the middle mouse button to the ALT-TAB key combination using this script in Windows Vista:

MButton::AltTabAndMenu
return

Now, I wanted to do the same reassigning the CAPS LOCK key to ALT-TAB:

CapsLock::AltTabAndMenu
return

But this doesn't have the desired effect. Instead of showing the "ALT TAB" running applications menu, it shows the Vista Start menu, as if I had hit the WIN key.

Any suggestions?

share|improve this question
    
These both work for me in Vista. –  Dennis Williamson Jul 17 '09 at 17:23
    
You may consider mapping this authotkey script to capslock. It's more efficient than alt-tab if you have lots of windows: lifehacker.com/5278802/iswitchw-finds-windows-as-you-type –  Tom Aug 21 '11 at 7:55

2 Answers 2

up vote 2 down vote accepted

This works for me

CapsLock::AltTabMenu

return
share|improve this answer
CapsLock UP::AltTabAndMenu
return
share|improve this answer
    
autohotkey.com/docs/KeyList.htm –  svandragt Jul 17 '09 at 12:12
    
Sorry, doesn't work on my machine. Same behavior (opens Windows Start menu) –  splattne Jul 17 '09 at 12:22

Your Answer

 
discard

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.