• 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
Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater


  • Subject: Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 14 Jan 2005 11:54:01 -0800

So we have a game that is launched via a web browser plugin. It does this by sending an AppleEvent to the game with the needed configuration information. We want to provide an optional feature that the game will ask the web browser to quit (the one that triggered that game to be launched) . In other words once the game is running we want to have the calling application to be quit.

I have tried the various obvious method provided by the AE related Cocoa class to fetch the original sender (mostly trying to get its PSN) but it looks like the data isn't in the event since the plugin doesn't request a reply, etc. Also when I log event data it doesn't look to me like the source is known..? So I am not sure if using any lower level AE functions will help.

Am I missing something?

Note...
At the moment it isn't for me to rework the plugin so I can not have it pass additional information, etc.
I am trying to support folks running 10.2.8 or greater (using the 10.2.8 SDK as my target).


-Shawn

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
      • From: Greg Robbins <email@hidden>
  • Prev by Date: Re: Reveal in Finder Sample Code
  • Next by Date: Re: Multiple section binding in tables
  • Previous by thread: Re: [Solved]Binding Tableviews (newbie) problems/questions
  • Next by thread: Re: Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
  • Index(es):
    • Date
    • Thread