Re: AppleEvent handlers don't seem to work.
Re: AppleEvent handlers don't seem to work.
- Subject: Re: AppleEvent handlers don't seem to work.
- From: Annard Brouwer <email@hidden>
- Date: Wed, 14 Jun 2006 18:10:35 +0200
Make sure you install these event handlers as soon as possible. For
instance in your NSApp delegate in -applicationWillFinishLaunching:.
Otherwise the standard Apple handler has already handled this event
(it is in the docs by the way).
Annard
On 14 Jun 2006, at 17:49, Martin Redington wrote:
====
My understanding is that my app will receive an apple event from
LSLaunchURLSpec, and that I can inspect this AppleEvent, to see if
my passthrough arg os present or not.
=====
So, I tried installing new kAEOpenApplication,
kAEReopenApplication, and kAEOpenDocuments handlers, in my
controller's awakeFromNib method, like so:
NSAppleEventManager *appleEventManager = [NSAppleEventManager
_______________________________________________
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