Skip to content

Instantly share code, notes, and snippets.

@bron84
Created May 18, 2016 02:39
Show Gist options
  • Select an option

  • Save bron84/226334fccf8f5e46c5d59195e6b3598d to your computer and use it in GitHub Desktop.

Select an option

Save bron84/226334fccf8f5e46c5d59195e6b3598d to your computer and use it in GitHub Desktop.
showAllInstalledApllications.py
from objc_util import *
appWorkspace = ObjCClass('LSApplicationWorkspace')
default = (appWorkspace.defaultWorkspace)
list = appWorkspace.defaultWorkspace()
apps = list.allInstalledApplications()
for app in apps:
print(app)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment