AutoHotkey one-liner: Correct Windows 7's missing "minimize" hotkey
Windows 7 has some really cool hotkeys. My personal favorites are the ones for managing windows:
- Win+Right (or left): Make the window take up right (or left) half of the screen.
- Win+Shift+Right (or left): Bounce window to next monitor (very handy!)
- Win+Up: Maximize window.
- Win+Shift+Up: Maximize window vertically.
- Win+Down: Restore window (unmaximize it if it's maximized), or minimize it if it's not maximized.
Does anyone else notice a glaring exception in the list above? If my window is maximized (like most of my applications are), I need to press down twice and watch it animate as it "restores" and then minimizes to the tray. Worse still, when I Alt-Tab back to that window, it's no longer maximized! Argh!
I don't know about you guys, but these things can really get on my nerves after a while. Well, as usual, it's AutoHotkey to the rescue:
#+down::WinMinimize,a
This single line of code lets you minimize any window with Win+Shift+Down, just as Microsoft should have done in the first place. Now when you Alt-Tab back to it, it'll be maximized, just like it was when you left it. Doesn't that make you feel much better?














Comments
7
Subscribe to commentsPeaboyJun 23rd 2010 2:40PM
You can hit ALT-SPACEBAR to access the Max, Min and Restore windows menu.
Name:Jun 23rd 2010 4:06PM
Alt + Space, n to minimize
ahmedn1986Jun 23rd 2010 3:26PM
For some reason I can't get these shortcuts to work. I have Win7 Premium 32bit. Do I need to enable something before using them?
ericloeweJun 23rd 2010 3:55PM
Theoretically no. It *could* be that you need aero enabled to do this... They all work fine for me on Ultimate x64
WillJun 24th 2010 12:22PM
I think you are the only person on the planet who thinks having to press down twice is a burden....
downloadsquadJun 30th 2010 9:06AM
Minimize ALL windows (Show Desktop)
Win + M
tracker1Jul 12th 2010 2:57PM
The hotkeys I miss are media volume hotkeys, I use a Unicomp 104-key keyboard so I don't get volume buttons... I use autohotey myself to map Win+ [, ] and \ to volume down, up and mute... works great.