• 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: How do I create a recordable application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I create a recordable application?


  • Subject: Re: How do I create a recordable application?
  • From: Brian Webster <email@hidden>
  • Date: Wed, 12 Dec 2001 10:42:56 -0600

Recordable applications are not yet directly supported by the Cocoa. You can still make a Cocoa application recordable, but you need to do so using Carbon calls, since you still can't send Apple Events using the Cocoa implementation. However, I think you can still rely on Cocoa's event handlers to actually handle the Apple Events; you just need to set up recording and create the Apple Events to send to yourself. Needless to say, there is no sample code out that demonstrates this in action.

On Wednesday, December 12, 2001, at 12:14 AM, cocoa-dev-
email@hidden wrote:

I'm new to Cocoa and am trying to understand how to build an Apple Event
aware application. I've searched the list archives and Cocoa documentation
but don't understand the overall architecture of a recordable Mac OS X
application. For example, where do you tell the NSAppleEventManager to
register your event handler?

I am familiar with the way to create recordable applications in Mac OS 9:
the application sends AppleEvents to itself, the application's registered
event handler gets the event, then calls the appropriate routine.

Is there a sample application that demonstrates how a Mac OS X Apple Event
aware application is put together?


--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster


  • Prev by Date: unespected behavior of some NSWindow, NSView methods
  • Next by Date: Re(3): More localization
  • Previous by thread: How do I create a recordable application?
  • Next by thread: Status Bar
  • Index(es):
    • Date
    • Thread