Re: Timeout after application:openFile: stalling applescript
Re: Timeout after application:openFile: stalling applescript
- Subject: Re: Timeout after application:openFile: stalling applescript
- From: Jerry Krinock <email@hidden>
- Date: Thu, 13 Sep 2012 20:28:31 -0700
On 2012 Aug 23, at 21:34, George Nachman <email@hidden> wrote:
> My application implements the NSApplicationDelegate method
> -application:openFile: in its app delegate. There seems to be a problem new
> to OS 10.8 where after receiving the apple event to open a file, five
> seconds pass before some kind of internal timeout is hit, a response is
> sent to the apple event, and the calling app (e.g., applescript editor)
> proceeds.
My application also implements the NSApplicationDelegate method -application:openFile: in its app delegate. To test, in 10.8.x, I just "told" it the following line in AppleScript Editor…
open POSIX file "/path/to/document"
It worked fine, several times. Document opened and AppleScript Editor became responsive again immediately.
_______________________________________________
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