Last active
December 23, 2015 00:29
-
-
Save jcla1/6554497 to your computer and use it in GitHub Desktop.
Print a comma delimited list of user programs running, excluding Finder.
This file contains hidden or 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" | |
set programs to get name of every process whose background only is false and name is not "Finder" | |
set AppleScript's text item delimiters to {","} | |
programs as string | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment