• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
generic event handlers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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]


  • Follow-Ups:
    • Re: generic event handlers
      • From: Chris Nebel <email@hidden>
  • Prev by Date: Re: Can a script create an applet?
  • Next by Date: Re: Can I script create an applet
  • Previous by thread: Re: Applescript & the CLI
  • Next by thread: Re: generic event handlers
  • Index(es):
    • Date
    • Thread