• 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: iTunes: changing song name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes: changing song name


  • Subject: Re: iTunes: changing song name
  • From: Matthew Smith <email@hidden>
  • Date: Tue, 07 Dec 2004 20:38:02 +1100

on 07/12/2004 20:15, Bob Stern at email@hidden wrote:

> I cannot figure out how to change the name, artist, etc of a track
> (song) in iTunes that is selected (highlighted) but is not currently
> playing.  Consequently, I've resorted to the following script that
> briefly plays each selected track to make it the current track before
> changing its name.  Is there a way to change the track name without
> playing the track?  Thanks!
>
> tell application "iTunes"
> set myList to selection of window 1
> repeat with myTrack in myList
> play myTrack
> stop
> set name of current track to "foo"
> end repeat
> end tell

What's wrong with:

tell application "iTunes"
    set myList to selection of window 1
    repeat with myTrack in myList
        set name of myTrack to "foo"
    end repeat
end tell

You already had the track in myTrack.
--
Matthew Smith


 _______________________________________________
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

  • Follow-Ups:
    • Re: iTunes: changing song name
      • From: Bob Stern <email@hidden>
References: 
 >iTunes: changing song name (From: Bob Stern <email@hidden>)

  • Prev by Date: iTunes: changing song name
  • Next by Date: Re: Reading Middle Eastern Characters
  • Previous by thread: iTunes: changing song name
  • Next by thread: Re: iTunes: changing song name
  • Index(es):
    • Date
    • Thread