Skip to content

Instantly share code, notes, and snippets.

@jmsmrgn
Created Apr 17, 2018
Embed
What would you like to do?
Manipulate login items from command line
osascript -e 'tell application "System Events" to get the name of every login item'
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Name of app.app", hidden:false}'
osascript -e 'tell application "System Events" to delete login item "itemname"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment