Re: solutions to scripting addition terminology confilicts
Re: solutions to scripting addition terminology confilicts
- Subject: Re: solutions to scripting addition terminology confilicts
- From: email@hidden
- Date: Mon, 28 Jan 2002 09:44:45 -0500
On Fri, 25 Jan 2002 23:21:03 -0800, Jon Pugh <email@hidden> asked,
>
At 12:10 AM -0500 1/26/02, email@hidden wrote:
>
>I made a copy of an AppleScriptable application, named it "Terminology", and
>
>removed its aete dictionary resource. I then created a new aete, with the
>
>single event "tock", which had the same event code as "the ticks" from Jon's
>
>commands.
>
Now the question is, how small of an app can you have? Can it just be an aete
and an scsz > resource? I'll bet it can, as long as it's an APPL file type.
At first, I tried using an AppleScript applet, and couldn't get it to work,
(perhaps because it didn't have a unique signature) so I went with a handy
AppleScriptable application. Today, I tried cutting the application down, and
was successful with just an aete resource, in a 378-byte file. In the real
world, it would need some other goodies, like a vers string, some STRs, and some
code so it won't give an error message if run. (It seems it needs to be an
APPL, so it has to have some code.)
>
I would also like to remind everyone that we grafted scripting additions on at
the last minute
>
when it became apparent that PowerTalk had scammed all the spare Finder people
and
>
we weren't going to get ANY scripting support into the Finder.
A hook for extensibility is great to have, even if its weak. You can enforce
linguistic constraints at a higher level, as long as you have the lower-level
hook in place. As I understand, many C++ impementations just flatten out symbol
names so that the linker doesn't need to know about the hierarchy of modules in
the program. As long as the names are different, the linker is happy. We can
do the same thing in AppleScript and Apple Events. As long as the raw event
codes are different, the terminology is adaptable.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden