-- Script to remove other launchers from login items and add Quicksilver
tell application "Finder" to set QSpath to POSIX path of (application file id "com.blacktree.Quicksilver" as string)
tell application "System Events"
if login item "LaunchBar" exists then delete login item "LaunchBar"
if login item "Alfred" exists then delete login item "Alfred"
if (login item "Quicksilver" exists) is false then make new login item at end of login items with properties {path:QSpath, hidden:true, kind:application, name:"Quicksilver"}
end tell
No comments:
Post a Comment