Skip to content

Instantly share code, notes, and snippets.

@xenatt
Created April 25, 2013 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xenatt/5462545 to your computer and use it in GitHub Desktop.
Save xenatt/5462545 to your computer and use it in GitHub Desktop.
Show Desktop App license GPL
tell application "System Events"
repeat with X in application processes
if visible of X is true then
set visible of X to false
else
set visible of X to true
end if
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment