• 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: When can you use the 'whose' clause (Filter)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When can you use the 'whose' clause (Filter)


  • Subject: Re: When can you use the 'whose' clause (Filter)
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 12 Apr 2008 04:51:32 -0400
  • Thread-topic: When can you use the 'whose' clause (Filter)

on 2008-04-11 9:43 PM, Philip Aker at email@hidden wrote:

> On 08-04-11, at 16:14, Michelle Steiner wrote:
>
>>>> It used to be that dictionaries would include "meets a test" in
>>>> the descriptions of items that respond to "whose" clauses.
>>>
>
>>> You're absolutely correct. My mistake not to remember that. In
>>> Cocoa, this portion is elided because it's handled by different means
>
>> Care to elucidate on that?
>
>
> <x-man-page://5/sdef> for starters. Chris Nebel is the principal fount
> for this area.

Dictionaries can still contain information indicating whether an element
supports the "meets a test," or filter, reference form, even in applications
that use only an sdef, not an aete. What the sdef man page tells us is only
that Cocoa applications don't need to use that information when figuring out
how to run a scriptable application. The information should nevertheless be
present in a properly constructed sdef, in my view.

The issue is that Script Editor's dictionary viewer no longer displays
reference form information. I understand this is because Apple feels the
information is not particularly useful, in that all reference forms should
always be supported by scriptable applications.

I disagree with Apple in this regard. There are some kinds of data for which
some reference forms aren't appropriate. For example, the index reference
form has no meaning in the case of an unordered set of data. And it is an
unfortunate fact that many scriptable applications do not support the filter
reference form. I believe this information is useful to scripters.

The dictionary viewer in Script Debugger does still display reference form
information.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com

PreFab Software - www.prefabsoftware.com


 _______________________________________________
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: When can you use the 'whose' clause (Filter)
      • From: has <email@hidden>
    • Re: When can you use the 'whose' clause (Filter)
      • From: Philip Aker <email@hidden>
References: 
 >Re: When can you use the 'whose' clause (Filter) (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: text additions or library for parsing email headers
  • Next by Date: Re: When can you use the 'whose' clause (Filter)
  • Previous by thread: Re: When can you use the 'whose' clause (Filter)
  • Next by thread: Re: When can you use the 'whose' clause (Filter)
  • Index(es):
    • Date
    • Thread