Re: AppleScript bug/change/feature in iTunes 7.7.1?
Re: AppleScript bug/change/feature in iTunes 7.7.1?
- Subject: Re: AppleScript bug/change/feature in iTunes 7.7.1?
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 4 Aug 2008 09:54:20 -0400
On Sat, Aug 2, 2008 at 12:59 PM, Doug Adams <email@hidden> wrote:
> regarding whose clauses "singular specifiers return bare values, range
> and every specifiers return lists."
So which are you using in your iTunes example? It seems like if you
want a bare value, you should say "first track whose id is blah" or
"some track whose id is blah". If you're just saying "track whose id
is blah" with no specifier, then I don't see how AS can do anything
but return a list.
I believe Matt's point was that the particular whose clause you use,
and the actual data you're querying, can't change the type of the
return value. There has to be a syntactic clue that indicates whether
it should return a list or a bare item.
--
Mark J. Reed <email@hidden>
_______________________________________________
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