• 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
How to send apple event in cocoa application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to send apple event in cocoa application


  • Subject: How to send apple event in cocoa application
  • From: Fei Li <email@hidden>
  • Date: Fri, 12 Oct 2001 13:38:35 -0600

Hello all,
I hope I can send messages between two applications on the same computer. I
think I can use apple event as I used in Mac OS9.

I saw there are two class NSAppleEventManager and NSAppleEventDescriptor in
Foundation kit, but documentation said:"Cocoa doesn't currently provide a
mechanism for applications to send Apple events. However, Cocoa applications
have full access to the Carbon APIs for working with Apple events." So it
seems I can't send event directly with cocoa's API, but how can I access to
Carbon APIs from cocoa application?

Or maybe there's other better way to send messages between two application
on same computer?

Thanks for any assistance!
Fei


  • Follow-Ups:
    • Re: How to send apple event in cocoa application
      • From: Andreas Monitzer <email@hidden>
    • Re: How to send apple event in cocoa application
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: How do I use the runInNewThread method ?
  • Next by Date: Re: Finder-like icon browser
  • Previous by thread: Using NSMovieView in Cocoa-Java
  • Next by thread: Re: How to send apple event in cocoa application
  • Index(es):
    • Date
    • Thread