• 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
Re: Custom handling for 'odoc' events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Custom handling for 'odoc' events
      • From: Martin Ott <email@hidden>
References: 
 >Custom handling for 'odoc' events (From: Martin Ott <email@hidden>)

  • Prev by Date: Running a sheet (threads)
  • Next by Date: Re: OSType
  • Previous by thread: Custom handling for 'odoc' events
  • Next by thread: Re: Custom handling for 'odoc' events
  • Index(es):
    • Date
    • Thread