Re: New Tiger dictionary format example posted
Re: New Tiger dictionary format example posted
- Subject: Re: New Tiger dictionary format example posted
- From: has <email@hidden>
- Date: Wed, 4 May 2005 15:46:42 +0100
Bill Cheeseman wrote:
> > I'm missing the old "by name, by numeric index, before/after another
> > element, as a range of elements, satisfying a test, by ID" that lets
> > me know how to specify an element. Has this information gone and hid
> > somewhere new, or is it gone?
>
>It has become redundant, or perhaps I should say unnecessary.
Not true. While it's not necessary to show this information for Cocoa apps (though its presence is certainly helpful), it _is_ essential to show it for Carbon apps as those depend on the developer to implement and document the supported reference forms for each element. A good example is iTunes, which has lousy accessor support that's impossible to infer from other dictionary information; the only way to know which forms are supported and which aren't is from the element accessor listings in its dictionary.
I can understand why the AppleScript engineers might want to omit superfluous information to make application dictionaries smaller and simpler to read, but omitting this particular information is inconvenient at least and downright wrong at worst. Paradoxically, subclasses still insist on listing elements already inherited from parent classes, which is completely redundant duplicate information. Automatically stripping that junk would significantly shorten dictionaries (e.g. see my HTMLDictionary app which already does this).
I recommend the OP file a formal bug report on Tiger's Script Editor explaining the problem (feel free to cut-n-paste the above if it helps), and go grab a copy of Smile or HTMLDictionary for viewing the missing info meantime.
Regards,
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden