Here's something you can try, in your Applications folder find the AppleScript folder, inside that open the Script Editor. It should automatically create a new blank script for you. Paste this into the top portion of that window:
activate application "Finder"
tell application "System Events" to tell process "Finder" to keystroke "h" using {command down, option down}
Do a Save As and choose Application as the file format. This will make an application that you could put on your Dock next to the Finder icon. Just click it when you want to hide everything but your finder windows.