generic event handlers
generic event handlers
- Subject: generic event handlers
- From: David Oberst <email@hidden>
- Date: Sat, 03 Feb 2001 00:48:44 -0700
I have an Applescript applet which has "on <event XXXXyyyy>" handlers for a
few custom Apple Events, which I use as a simulation tester for the actual
program that handles them. I can't seem to find any way to create a
"generic" event handler, so that I could do something like "on <event
XXXX****>" to handle all events in the "XXXX" class.
Without it I have to keep Applescript up to date with changes in the real
program, so that it handles all the same events.
Even syntax for a handler for "otherwise unhandled events" would be useful.
Was I dreaming that I thought that Applescript could do this?
--
David Oberst/NWT Bureau of Statistics/Yellowknife, NWT, Canada
email@hidden [Explore Canada's Arctic]