Finding the sender of an AppleEvent in Cocoa app on 10.2.8 or greater
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