Re: How do you update a tracks info in Itunes with applescript
Re: How do you update a tracks info in Itunes with applescript
- Subject: Re: How do you update a tracks info in Itunes with applescript
- From: deivy petrescu <email@hidden>
- Date: Fri, 11 Jan 2008 09:36:28 -0500
On Jan 11, 2008, at 6:49, Paul Taylor wrote:
Anybody please, can this be done ?
Paul Taylor wrote:
Hi (im stuck again), Ive created a playlist of tracks that have
been edited outside of iTunes, but the changes are not shown in
iTunes until I select getInfo for the file using iTunes. I need to
tell itunes to update the info for each track in the playlist, I
tried using the command update
and it doesnt give an error , but doesnt seem to do anything either
- I cant find a suitable command in the itunes dictionary.
tell application "iTunes"
set new_playlist to (make user playlist with properties
{name:"Files Updated:1/8/08 9:36 PM"})
add (file "Macintosh HD:Users:paul:track7.mp3") to new_playlist
add (file "Macintosh HD:Users:paul:track8.mp3") to new_playlist
repeat with nexttrack in new_playlist
update nexttrack
end repeat end tell
thanks Paul
Paul, you should look in iTunes dictionary.
Apparently the command for tracks is "refresh".
I have not used it. But try it.
Deivy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden