Hey,
I'm looking to optimize this applescript, ideally with an idle handler, though I haven't been able to make that work all that well. Any help would be greatly appreciated. Thanks!
local trackID
tell application "Spotify" to activate -- launches spotify
repeat while application "Spotify" is...