Re: iTunes location parameter
Re: iTunes location parameter
- Subject: Re: iTunes location parameter
- From: "J. Stewart" <email@hidden>
- Date: Wed, 14 Jun 2006 17:18:04 -0400
On 6/14/06 at -0500 Jeffrey Mattox said this
>Why does this fail?
>
> tell application "iTunes"
> set theLoc to location of first file track of playlist "Library"
> get (first file track of playlist "Library" where location is theLoc)
> end tell
>
>Results: "iTunes got an error: A descriptor type mismatch occurred."
Either of the following forms will work -
--> Cut <--
tell application "iTunes"
set thetrk to first file track of playlist "Library"
set theLoc to location of thetrk
end tell
--> Cut <--
--> Cut <--
tell application "iTunes"
set theLoc to location of (get first file track of playlist "Library")
end tell
--> Cut <--
JBS
--
Ever wonder about those people who spend $2.00 apiece on those little bottles of Evian water? Try spelling Evian backwards: NAIVE - George Carlin
_______________________________________________
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