Re: iTunes: Get Name of Next Track?
Re: iTunes: Get Name of Next Track?
- Subject: Re: iTunes: Get Name of Next Track?
- From: Dirk Einecke <email@hidden>
- Date: Sat, 23 Oct 2004 09:36:49 +0200
Hi.
Am 23.10.2004 um 08:01 schrieb Johnny AppleScript:
I should probably know how to do this, but it's late, I'm tired, and I
can't
figure out a fast way of doing this: I need to get the name (& other
properties) of the next (scheduled) track to play in iTunes; i.e., the
next
track in line to play after the current track, without interrupting
the play
of the current track. Polling the playlist seems too slow. Ideas?
I tried this with 1115 songs in a playlist and it is very fast:
tell application "iTunes"
set theIndex to index of current track
set nextTrack to track (theIndex + 1) of current playlist
set trackName to name of nextTrack
display dialog trackName
end tell
greetings
Dirk Einecke
_______________________________________________
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