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: has <email@hidden>
- Date: Mon, 14 Apr 2008 19:07:09 +0100
On 12 Apr 2008, at 09:51, Bill Cheeseman wrote:
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.
Not exactly; rather, all reference forms except by-name and by-id are
supported by the default Cocoa Scripting implementation, and support
for by-name and by-id forms can be determined by checking the
element's class definition to see if it has name and/or id properties.
Of course, one might point out that the default Cocoa Scripting
implementation is not suitable for all purposes (e.g. Core Data), or
that many applications don't even use Cocoa Scripting to begin with,
or that listing such non-essential but still convenient information
might be appreciated by users. But that would be churlish.
Anyway, those who'd would prefer a more traditional view can always
check out ASDictionary, which can export application dictionaries for
AppleScript and appscript in convenient single-page and frame-based
HTML formats:
http://appscript.sourceforge.net/tools.html
In addition to displaying any reference forms indicated by the
application aete, it will automatically guess the supported forms for
any application that doesn't provide this information itself.
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
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