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

I'm looking for someone that knows AutoHotkey that will help me create the following scripts on Windows 7;

1) Minimize window (using control/dot) 2) Closing active window (using control/left arrow) 3) Closing all windows (using control/right arrow)

I've looked at their web site but know nothing about programing so I don't understand the symbols or how to use them. Any help would be appreciated. Thanks Carlos

share|improve this question

The AutoHotkey (AHK) scripting language is similar to BASIC, and as such is relatively easy to learn. If you are looking to get a general understand of how AHK works, the Tutortial is a great start.

Anyway, the following should do what you want:

  • Minimize the active window with Ctrl+.:

    ^.::WinMinimize, A
  • Close the active window with Ctrl+Left:

    ^Left::WinClose, A
  • Close all windows with Ctrl+Right:

       GroupAdd, AllWindows
       WinClose, ahk_group AllWindows


share|improve this answer
Thank you so much for this. It's really going to help a lot. How can I assign points to you for such a fine job? – Carlos Mar 20 '12 at 14:51

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.