Here's how you can use a keyboard command to minimize all application windows in OS X on your Mac. 1. Use this command: Option-Command-M 2. To open them all up at once, just press and hold the Option key while clicking on one of the windows on your Dock.
For more, see the original article at the link below.
OS X: Tips for Managing Windows | Mac Observer