This will hide all other applications than the sender.
-[NSWorkspace hideOtherApplications]
Link to documentation:
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/doc/uid/20000391-hideOtherApplications
0
solved Programmatically show the desktop?