• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do you update a tracks info in Itunes with applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How do you update a tracks info in Itunes with applescript (From: Paul Taylor <email@hidden>)
 >Re: How do you update a tracks info in Itunes with applescript (From: Paul Taylor <email@hidden>)
 >Re: How do you update a tracks info in Itunes with applescript (From: deivy petrescu <email@hidden>)
 >Re: How do you update a tracks info in Itunes with applescript (From: Paul Taylor <email@hidden>)

  • Prev by Date: Can one detect that a javascript finished/is there a method to open 3D Object textures in Photoshop Extended/can I run Photoshop in background mode?
  • Next by Date: Should Cocoa apps pass parameters to AppleScript?
  • Previous by thread: Re: How do you update a tracks info in Itunes with applescript
  • Next by thread: Photoshop and CS3
  • Index(es):
    • Date
    • Thread