itunes and duplicating track from library
itunes and duplicating track from library
- Subject: itunes and duplicating track from library
- From: "David A. Cox" <email@hidden>
- Date: Mon, 15 Nov 2004 09:31:40 -0800 (PST)
This should be simple, but I have tried a lot of variations on a basic
step in a script, and I can't seem to get it to work.
I want to convert a track in one playlist, and then add that converted
song to a different playlist. The scripts I have tried will convert the
track, and add the result to the library, and return the "track" to the
script, but I can't seem to duplicate the track to a new playlist. The
simpelest script that I hoped would work is:
*****
tell application "iTunes"
convert track 1 of playlist "AIFF"
set fixedtrack to result
duplicate fixedtrack to playlist "AAC"
end tell
*****
but when I run the script, I get an error back of the form:
iTunes got an error: Can't set playlist "AAC" to {file track id 732 of
library playlist id 40 of source id 39}.
Anyone know how to make this work? I have tried to set variables to the
track number of the result and stuff like that, but I have had no luck....
Thanks,
DAC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden