Skip to content

Instantly share code, notes, and snippets.

View olivierlefloch's full-sized avatar
👻

Olivier Le Floch olivierlefloch

👻
View GitHub Profile
@olivierlefloch
olivierlefloch / disable_tracks.scpt
Created March 17, 2016 04:41
AppleScript to disable all tracks in iTunes playlist "Foobar"
tell application "iTunes"
repeat with the_track in every track of playlist ("Foobar")
tell the_track
set enabled to false
end tell
end repeat
end tell