I’m hoping this is simple. My script below takes a .mov file, converts it and then deletes the .mov file from iTunes.
Perhaps this is my faulty understanding, but what happens is that there is still a reference to the deleted .mov file in iTunes. My attempt to specifically remove it doesn’t affect it. Get info on the file in the iTunes browser indicates it’s missing.
Why does the reference not get deleted? thanx, sam
set kipper to 1 with timeout of (900 * 3) seconds tell application "iTunes" set harvey to (add ("Bell:Users:sam:Documents:" & kipper & " Rush.mov") to user playlist "b-ruskie") --Change the name of the imported track to be the new name set importedTrackName to "" set name of harvey to importedTrackName set maude to (convert harvey) set newMp3 to (every track of playlist 1 whose name is importedTrackName and kind is "MPEG audio file") set fran to location of harvey --set island to reference of harvey tell playlist 1 delete harvey --island end tell --playlist 1 tell application "Finder" delete fran end tell --finder end tell --ituens end timeout