Re: Current playlist in iTunes if not playing...
Re: Current playlist in iTunes if not playing...
- Subject: Re: Current playlist in iTunes if not playing...
- From: Emmanuel <email@hidden>
- Date: Fri, 4 Apr 2003 16:02:50 +0200
At 3:16 PM +0200 04/04/03, Jakob Peterhdnsel wrote:
I would like to get the current playlist in iTunes, or a default of '1'.
It seems, though, that trying to get that if iTunes is NOT playing,
will render the variable as 'not defined'
I confirm: getting the current playlist while iTunes is not playing
actually returns an "Unknow object" error.
iTunes' dictionary includes a "browser window" class, that has a
"view" property. Here, I could have the following work:
--------------------------------------
tell app "iTunes" to get view of browser window 1
tell app "iTunes" to get name of result
--> "Library"
--------------------------------------
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.