That doesn't actually show the desktop though.
I dunno maybe they use a button mouse.
... Did any of you even read the OP?
To actually answer the question...
- Open Automator
- Make a new Application (command + n)
- Add the action 'Run Shell Script' to the flow
- Delete the default text 'cat'
- Paste in this code
Code:
open /Applications/Mission\ Control.app --args 1
- Save the Application as Desktop
- Make sure the File Format is Application and not Workflow when saving
- Also it's probably best to save it in /Applications
- Navigate to wherever you saved the Application in Finder
- Drag the Application to your dock
Congrats you just made your first Automator item! Now just click the icon in your dock to show the desktop.
Here's a link to a nice icon for the app since the default automator icon doesn't really make me think 'show desktop'.
http://www.artofadambetts.com/weblog/2006/09/updated-desktop-icon/
Note for others who may be interested:
Mission Control -- open /Applications/Mission\ Control.app
Show Desktop -- open /Applications/Mission\ Control.app --args 1
Application Windows -- open /Applications/Mission\ Control.app --args 2
Dashboard -- open /Applications/Dashboard.app
Alternate open command
open -a "Mission Control"
open -a Dashboard