Re: Documents not opening from Finder
Re: Documents not opening from Finder
- Subject: Re: Documents not opening from Finder
- From: Quincey Morris <email@hidden>
- Date: Fri, 01 Mar 2013 14:21:35 -0800
On Mar 1, 2013, at 13:59 , Steve Mills <email@hidden> wrote:
> I have tons of experience with AppleEvents under Carbon, but none under Cocoa. Where does that event come in?
I think the diversion into Apple Events is something of a red herring, at least at this stage of your debugging. Requests to open and print may indeed arrive at your app as Apple Events, but the best place to intervene is in NSApplicationDelegate protocol. By default, all such external requests should end up at one or other of the delegate protocol methods.
If they don't get there, it seems likely the Finder isn't sending them. That wouldn't solve your problem, of course, but it would tell you that looking in your app's code isn't going to get to the solution.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden