Thread-topic: Overridden objects from StandardSuite in sdef
User-agent: Microsoft-Entourage/11.3.3.061214
On Fri, 13 Jul 2007 11:32:00 -0400, Bill Cheeseman <email@hidden>
said:
>on 2007-07-13 10:59 AM, Christiaan Hofman at email@hidden wrote:
>
>> But not in Sketch.sdef, where the document with custom properties is declared
>> in the Standard Suite. So I'm still not sure what is the preferred way (if
>> there is one). And this makes it confusing that the dictionary lists the
>> properties of the application object in 2 different places.
>
>My personal view, based on 14 years' experience with AppleScript, is that
>all elements and properties of an object should appear in one object
>definition in the terminology dictionary.
I agree, and in my book, I say so. Suites are the work of the devil anyway,
and a class defined in two different places in the dictionary is the work of
the devil on steroids (or diabloids or whatever it is he takes). Script
Debugger solves the problem in its dictionary display by merging the two
definitions, but Script Editor does not, and users who encounter this
problem ("what? I'm looking right at the definition of 'application', but it
turns out it has a bunch of other properties I'm not seeing???") will
probably put their fist through the screen and then come to your house and
break your knees. Remember, your user is struggling with AppleScript; don't
do anything to make him angrier than he already is if you want make it past
puberty. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden
This email sent to email@hidden