Re: solutions to scripting addition terminology confilicts
Re: solutions to scripting addition terminology confilicts
- Subject: Re: solutions to scripting addition terminology confilicts
- From: Chris Page <email@hidden>
- Date: Sat, 26 Jan 2002 01:04:58 -0800
On Friday, January 25, 2002, at 11:21 , Jon Pugh wrote:
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.
I then wrote and ran this script:
using terms from application "Terminology"
tock
end using terms from
So perhaps all Apple needs to do is add a flag to osaxen (or
perhaps to the terminology resource) to specify that the
terminology requires an explicit 'using terms from', and add a new
form 'using terms from addition "Foo"', and we've now got explicit
control over namespaces without adding much complexity. I suppose
this behavior should also apply to coercion handlers, although that
seems less important to me.
--
Chris Page
Super Happy Fun Engineer
Palm, Inc.
Do not taunt Super Happy Fun Engineer.