Re: iTunes: changing song name
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