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: Paul Taylor <email@hidden>
- Date: Sun, 13 Jan 2008 22:06:19 +0000
FYI I Found the problem, should have been
repeat with nexttrack in (get every track of new playlist)
refresh track
end repeat
not
repeat with nexttrack in new_playlist
refresh nexttrack
end repeat
(I think learning applescript , is going to be painful process.)
Paul
Paul Taylor wrote:
deivy petrescu wrote:
Paul, you should look in iTunes dictionary.
Apparently the command for tracks is "refresh".
I have not used it. But try it.
Deivy
Thanks vey much. I did look at the Dictionary for quite some time, but
still managed to miss the Refresh command. The dictionary isnt very
intuitive though is it, I looked at both track and file track, and
neither had a links back to the refresh command. Ive now tried the
command in my script and it appears to sort of work, in my example
code the first track (track7.mp3) is getting updated, but my second
(track7 copy.mp3) isnt until I select getInfo. So I thought there was
a problem with my repeat statement, but if I swap the order the files
are added to the playlist, it is still only track7.mp3 that gets updated.
Paul
_______________________________________________
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
_______________________________________________
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