If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I want to enable all tracks in my library except those tracks which I have purchased from the iTunes Music Store. That way I can easily see which tracks I ought to delete and re-encode.
Unfortunately, the following doesn't work:
tell application "iTunes"
repeat with thisTrack in (get every track of playlist "Library")
if thisTrack's enabled is false then set thisTrack's enabled to true
end repeat
repeat with thisTrack in (get every track of playlist "Library" whose track is in playlist "Purchased Music")
if thisTrack's enabled is true then set thisTrack's enabled to false
end repeat
end tell
tell application "iTunes"
repeat with thisTrack in (get every track of playlist "Library")
if thisTrack's track is in playlist "Purchased Music" then set thisTrack's enabled to false
end repeat
end tell