Created
July 27, 2015 11:30
-
-
Save JesusLeon/f092ffff47d3e8f1ccd8 to your computer and use it in GitHub Desktop.
List open apps applescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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