Re: NSAppleEventManager question...
Re: NSAppleEventManager question...
- Subject: Re: NSAppleEventManager question...
- From: Brian Webster <email@hidden>
- Date: Thu, 02 Aug 2001 00:52:45 -0500
on 8/1/01 5:47 PM, email@hidden at
email@hidden wrote:
>
My question is, can i set up a single selector for an entire class of
>
AEs? In other words, is there some wildcard value for the
>
andEventID: argument ?
According to the AE docs, installing a handler with typeWildCard as the
class and/or ID will allow a single handler to do this. However,
typeWildCard is defined as '****', so I'm not quite sure why that didn't
work.
Looking at it from the point of view of implement NSAppleEventManager, the
way I would do it would be just to register a single handler that gets
called on every Apple event and then dispatch the events via NSDictionaries
storing the appropriate objects and selectors. So, the typeWildCard
probably doesn't just "pass through" automatically; it would need specific
support from NSAppleEventManager, which it doesn't appear to have. If
typeWildCard doesn't work, I'd file a bug report on it. Anyone out there
know if this is a known bug?
--
Brian Webster
email@hidden
http://www.owlnet.rice.edu/~bwebster/