Skip to content

Instantly share code, notes, and snippets.

View SteffenDE's full-sized avatar
🏠
Working from home

Steffen Deusch SteffenDE

🏠
Working from home
View GitHub Profile
--Mute Spotify when ads are playing. Use if in a country where you can't
--purchase a pro account. Open AppleScript editor (Applications > Utilities)
--paste this script in and then go File -> Save As, change 'File Format' to
--'Application' and save somewhere. Run Spotify using that application.
set currentTrack to ""
do shell script "open -a \"Spotify\""
delay 5