• 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: Get Name of Next Track?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: iTunes: Get Name of Next Track?
      • From: Johnny AppleScript <email@hidden>
References: 
 >iTunes: Get Name of Next Track? (From: Johnny AppleScript <email@hidden>)

  • Prev by Date: iTunes: Get Name of Next Track?
  • Next by Date: Re: Creating a chart or graphic line...
  • Previous by thread: iTunes: Get Name of Next Track?
  • Next by thread: Re: iTunes: Get Name of Next Track?
  • Index(es):
    • Date
    • Thread