Skip to content

Instantly share code, notes, and snippets.

Avatar
👻

Olivier Le Floch olivierlefloch

👻
View GitHub Profile
@olivierlefloch
olivierlefloch / disable_tracks.scpt
Created Mar 17, 2016
AppleScript to disable all tracks in iTunes playlist "Foobar"
View disable_tracks.scpt
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