• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript bug/change/feature in iTunes 7.7.1?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AppleScript bug/change/feature in iTunes 7.7.1?
      • From: deivy petrescu <email@hidden>
References: 
 >Re: AppleScript bug/change/feature in iTunes 7.7.1? (From: Matt Neuburg <email@hidden>)
 >Re: AppleScript bug/change/feature in iTunes 7.7.1? (From: Doug Adams <email@hidden>)

  • Prev by Date: Re: ICON changes
  • Next by Date: Re: Alias Files
  • Previous by thread: Re: AppleScript bug/change/feature in iTunes 7.7.1?
  • Next by thread: Re: AppleScript bug/change/feature in iTunes 7.7.1?
  • Index(es):
    • Date
    • Thread