How to pause Spotify automatically when headphones are disconnected (on a Mac)

  1. Install Breakaway
  2. Create folder ~/Scripts
  3. Create file pausespotify.applescript
  4. Configure Breakaway like this:

pausespotify.applescript should just contain:

tell application "Spotify"
    pause
end tell
Comments
blog comments powered by Disqus