Re: totally baffled by "odoc" apple event failing on launch
Re: totally baffled by "odoc" apple event failing on launch
- Subject: Re: totally baffled by "odoc" apple event failing on launch
- From: M Pulis <email@hidden>
- Date: Tue, 1 Dec 2009 13:25:15 -0700
Tried AE Monitor (Oxalyn Software)?
Oxalyn Software > Æ Monitor
Gary
On Dec 1, 2009, at 11:31 AM, David M. Cotter wrote:
recently our app has stopped responding to "odoc" apple events on
startup.
that is, if the user double clicks a document of our app, and this
causes the
app to launch, then the document is not opened. (cnr when app is
already
launched). same story dropping the doc icon onto the app icon
(same code path).
Apparently this problem is widespread, as reported in this Macfixit
article:
http://reviews.cnet.com/8301-13727_7-10401605-263.html
this is not the issue i'm having. double clicking the document
always launches my application. so it is "bound" correctly. the
problem is that on startup my app is not receiving the "odoc" apple
event, or it is being eaten at an inopportune time. if the app is
already running, then i do receive the event and the document opens.
Are you certain that odoc events are even being sent?
no i am not
It's pretty easy to find out using Apple event debugging.
and how do you do that?
i have run with AEDebug / Send / Receives set to 1 and i see the log
of the events. but i can only do that when launching from the
command line (no double click) or from Xcode (again no double click)
so there is no way to test my problem with these debug vars
set._______________________________________________
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
_______________________________________________
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