Skip to content

Instantly share code, notes, and snippets.

@JesusLeon
Created July 27, 2015 11:30
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 JesusLeon/f092ffff47d3e8f1ccd8 to your computer and use it in GitHub Desktop.
Save JesusLeon/f092ffff47d3e8f1ccd8 to your computer and use it in GitHub Desktop.
List open apps applescript
tell application "System Events"
-- get properties of every process where background only is false
set listOfProcesses to (title of every process where background only is false)
tell me to set selectedProcesses to choose from list listOfProcesses with multiple selections allowed
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment