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