Re: Custom handling for 'odoc' events
Re: Custom handling for 'odoc' events
- Subject: Re: Custom handling for 'odoc' events
- From: Nathan Day <email@hidden>
- Date: Wed, 16 Apr 2003 16:44:57 +0930
Have a look at the class NSAppleEventManager, it has the method
- (void)setEventHandler:(id)handler andSelector:(SEL)sel
forEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID
that might do what you want.
On Monday, April 14, 2003, at 11:38 PM, Martin Ott wrote:
Hi list,
I have a Cocoa multi-document app. I want to implement the client side
of the ODB Editor Suite
<http://www.barebones.com/support/develop/odbsuite.shtml> for this
app. In order to do this I have to pull out the additional parameters
sent with the 'odoc' event.
Till now I haven't found a way to intercept the 'odoc' event to get
the additional parameters. I tried subclassing NSSriptCommand and
putting this subclass in my scriptSuite either using SupportedCommands
or directly in the Commands section but nothing worked.
How can I receive an 'odoc' event in a multi-document Cocoa app in
order to examine the additional parameters sent with the event.
Cheers,
--
Martin Ott Email: email@hidden
Institut fuer Informatik
Technische Universitaet Muenchen
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.