Re: itunes and duplicating track from library
Re: itunes and duplicating track from library
- Subject: Re: itunes and duplicating track from library
- From: Mr Tea <email@hidden>
- Date: Tue, 16 Nov 2004 01:02:35 +0000
This from Mr Tea - dated 16/11/04 12ยท24 am:
> this should work...
But this should work better. Here's a slightly more robust and specific
version of my previously posted script, with the format conversion included:
--*****
tell application "iTunes"
set theTrack to track 1 of playlist "AIFF"
convert theTrack returning fixedtracklist
set fixedtrack to location of item 1 of fixedtracklist
add fixedtrack to playlist "AAC"
set oldTrack to location of theTrack
set theID to database ID of theTrack
set theLib to name of first library playlist
tell playlist theLib
delete (every track whose database ID is theID)
end tell
end tell
tell application "Finder" to delete oldTrack
--*****
Nick
pp Mr Tea
--
_______________________________________________
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