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.

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
add comment

1 Answer

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:

    ^Right::
       GroupAdd, AllWindows
       WinClose, ahk_group AllWindows
       return
    

Documentation:

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
add comment

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.