Re: Attachability
Re: Attachability
- Subject: Re: Attachability
- From: Peter Fine <email@hidden>
- Date: Wed, 07 Feb 2001 17:36:40 -0500
on 2/7/01 8:10 AM, Bill Briggs at email@hidden wrote:
>
I agree with you Bill. In fact, Cal is contradicting himself here.
>
Page 8 of his own Scripter manual reads thus:
>
>
"Attachable: An attachable application supports the attaching or
>
embedding of a script to an object within the application. An
>
attachable application can associate a script with a button or with a
>
field in a form, for example. When you click the button or tab out of
>
the field, the script will run. In some attachable applications, a
>
script can be associated or embedded with an object or its data, such
>
as documents which hold different scripts."
>
>
This jives with what Leonard says, and makes much more sense to me.
>
Simply having a scripts menu wouldn't, in my mind, qualify as
>
attachable.
We're drifting off into definitional Never-Never Land. "Attachable" is a
term which has been around and has been used in official Apple documents in
the manner Stephen Bryant is using it.
I disagree with you, Bill Briggs. Scripts in a "Scripts" menu are attached
to that menu. The problem is that a relatively large number of apps are
attachable only to the extent of providing a Scripts menu. In "The
AppleScript Scorecard Guidelines, Cal and Bill Cheeseman limit "attachable"
to mean "has a Scripts menu" and use "embeddable" for all other aspects and
instances of attachment.
What has gotten lost here is Stephen's request for information on how to use
the attachment facilities in those few applications that have them: Smile,
Style, Script Debugger 2, BBEdit 6 (that I know of).
He makes the point, valid in my opinion, that the documentation for those
apps (perhaps with the exception of BBEdit 6) is inadequate to enable even a
sophisticated scripter to figure out how to use these facilities.
Cal says it's up to the developer to document his or her implementation.
Mark Alldritt has at least addressed this issue in his post to this thread.
Can anyone else help out, either with respect to Script Debugger or the
other apps? If you're not the developer but know something about using
attachment, please chime in!
Also, it seems to me, you can achieve something like attachment using
inheritance. Is that a misunderstanding?
Peter