iTunes 'current playlist'
iTunes 'current playlist'
- Subject: iTunes 'current playlist'
- From: Craig Treleaven <email@hidden>
- Date: Mon, 5 Nov 2001 12:21:30 -0500
Does anybody know how to determine the name of the current playlist with iTunes 2's new Applescript support? The "view" property of class browser window looks promising, but I don't seem to be able to get the name from it.
"Get view" returns something like the following:
library playlist id 1234 of source id 30 of application "iTunes"
Asking for "Name of view" returns exactly the same thing. (Huh?) I'm not a heavy-duty Applescripter so I may be overlooking something very obvious.
BTW, locating the current playlist was always ackward and slow with SoundJam. There you have to loop through the playlist windows and search for the one whose tracks contains the current track. I was hoping iTunes might be a little cooperative.
Craig
Craig Treleaven, Clearview Consulting
(905) 829-2054 email@hidden