Skip to content

Instantly share code, notes, and snippets.

@zef
Created May 21, 2011 19:16
Show Gist options
  • Save zef/984803 to your computer and use it in GitHub Desktop.
Save zef/984803 to your computer and use it in GitHub Desktop.
tell application "System Events"
set app_name to name of the first process whose frontmost is true
set visible of process app_name to false
end tell
tell application "Finder"
activate
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment