Skip to content

Instantly share code, notes, and snippets.

@timvisher
Created June 4, 2013 00:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save timvisher/5702675 to your computer and use it in GitHub Desktop.
Save timvisher/5702675 to your computer and use it in GitHub Desktop.
tell application "System Events"
--set visible of every process whose visible is true and name is not in {"Finder", name of current application} to false
set visible of every process whose visible is true and name is not "Finder" and frontmost is false to false
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment