• 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: Philip Aker <email@hidden>
  • Date: Fri, 11 Apr 2008 14:31:34 -0700

On 08-04-11, at 11:49, Jerry Krinock wrote:

But I've never seen an application's Dictionary explain whether or not 'whose' has been implemented.

Applications can opt to override whose clause resolution (a language feature) at various levels, but elements are the responsibility of the application. Whatever the application implements, a user can only distinguish by the result of a call, not a dictionary description.


Perhaps this enum from the CoreServices side of things can illustrate what applications can opt in for:

enum {
  kAEIDoMinimum                 = 0x0000,
  kAEIDoWhose                   = 0x0001,
  kAEIDoMarking                 = 0x0004,
  kAEPassSubDescs               = 0x0008,
  kAEResolveNestedLists         = 0x0010,
  kAEHandleSimpleRanges         = 0x0020,
  kAEUseRelativeIterators       = 0x0040
};


99% of Carbon/MacOS classic applications use kAEIDoMinimum and let the system do the work.


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

_______________________________________________
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: Michelle Steiner <email@hidden>
References: 
 >Re: When can you use the 'whose' clause (Filter) (From: "Stockly, Ed" <email@hidden>)
 >Re: When can you use the 'whose' clause (Filter) (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: When can you use the 'whose' clause (Filter)
  • 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