midwire
4/13/2015 - 7:38 PM

Launch Spotify and remove it's attempt to force itself into your login items

Launch Spotify and remove it's attempt to force itself into your login items

# Launch Spotify and remove it's attempt to force itself into your login items

tell application "Spotifree" to activate
tell application "Spotify" to activate

tell application "System Events"
	set startupItems to (name of every login item)
	repeat with i from 1 to count of startupItems
		if startupItems's item i is equal to "Spotify" then
			delete login item "Spotify"
		end if
	end repeat
end tell