If you’re a Windows user, you may be familiar with the keyboard shortcut for hiding the active window: cmd+opt+H. Mac users can also hide windows using the Hide Others (cmd+opt+H) keyboard shortcut. ..


The obvious choice to implement this functionality was to use AutoHotkey, but I simply didn’t have the time to figure it out myself… so I mentioned it to reader Shawn over instant message.

About 15 minutes later, he’d come up with the solution, which I’m sharing for everybody.

Usage 

To invoke: just use Win+Alt+H

The Windows version won’t have a menu item like the OS X screenshot above, but it does work nearly the same… because Windows doesn’t have a good method for hiding windows the way OS X does, this script just simply minimizes all the windows on the screen apart from the current one.

If you’d like to change the keyboard shortcut, you can easily do that by modifying the script.

Installation

You’ll need to have AutoHotkey installed, and then just double-click on the downloaded script file to start it.

Download AutoHotkey from Autohotkey.com

Download Hide Others AutoHotkey Script