iTunes 12 "Up Next" GUI Element not accessible with AS
iTunes 12 "Up Next" GUI Element not accessible with AS
- Subject: iTunes 12 "Up Next" GUI Element not accessible with AS
- From: Alastair Leith <email@hidden>
- Date: Sat, 01 Aug 2015 23:17:52 +0800
iTunes 12 (and possibly earlier versions) has a pop-out GUI element from showing the list of next songs to be played according to the predetermined shuffle function and also any tracks manually added by the User to “Add to Up Next” contextual menu item.
This order is of course different to the index order playlists available to AS via the playlist objects. The “Up Next” object and properties seem to missing form the iTunes Dictionary.
So this script doesn’t get me to where i need to be:
-- find out what tracks are up next in shuffle play order
tell application "iTunes" set playlistFromView to (get view of front window) set trackCounter to the count of tracks of playlistFromView
set playlistATM to current playlist set trackCounterATM to the count of tracks of playlistATM
set libraryPlaylist to the library playlist try set myTracks to the count of tracks of libraryPlaylist end try
end tell
This screen grab shows how the Up Next list order is different and track count (total songs) is also different to the 5 track playlist:
I order to write a Quartz Composer visualise that uses track info and times cross fades of artwork I need access to the actual playlist as it will happen not the playlist object(s) that are available using the above two methods.
Can anybody confirm that the iTune's “Up Next” object/properties are not accessible via scripting? |
_______________________________________________
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