Here’s an AppleScript I use to quickly toggle desktop visibility for taking screenshots and recording screencasts. Thought I’d share it with the world.
Copy and paste the code below into AppleScript Editor, or your editor of choice, compile and save.
As always, scripts like this work best using FastScripts from Red Sweater Software.
Note: This single script turns off the desktop if it’s on, and turns it on if it’s off – just to clear up the question should it need to be asked.