This free utility automatically hides unused windows after a set amount of time!
Hocus Focus, a free utility for Mac OS X 10.10 automatically hides inactive windows after a set amount of time.
After downloading and installing the app, look for an icon resembling a magic wand in the Menu Bar at the top of your screen. Clicking on it will reveal a list of all open apps, both hidden and visible.
Any apps that are both open and inactive will have a circle next to the name, and as time progresses the circle will fill in blue. Once time runs out (30 seconds is the default time), the window will be hidden. It’s important to note that the app isn’t closed, so you don’t need to worry about losing work. Hocus Focus simply hides the window in the same fashion as if you had hidden it using Command-H yourself.
You can change the time it takes for an inactive window to be hidden on an app-by-app basis; simply hover over an app in Hocus Focus and move the scroll bar to the right.