The title pretty much says it all. I need to know the terminal commands for "Application Windows" and "Show Desktop" in Mountain Lion so I can make aliases on the dock with Automator. I don't like hot corners, mostly because there are only four corners on the screen and more OS functionality than that. Keyboard shortcuts are all well and good, I just want options.
You can execute "Mission Control" with specific arguments to trigger the behavior that you desire:
/Applications/Mission\ Control.app/Contents/MacOS/Mission\ Control
/Applications/Mission\ Control.app/Contents/MacOS/Mission\ Control 1
/Applications/Mission\ Control.app/Contents/MacOS/Mission\ Control 2
Alternately, you could use
osascript to execute the key code that you have setup for "Application Windows" and "Show Desktop". In the example below, I have "Desktop" mapped to the F8 key, and "Application Windows" setup to use F9. The key codes for these F keys can be found in various places.
osascript -e "tell applications \"System Events\"" -e "key code 100" -e "end tell" osascript -e "tell applications \"System Events\"" -e "key code 101" -e "end tell"