• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Timeout after application:openFile: stalling applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Timeout after application:openFile: stalling applescript (From: George Nachman <email@hidden>)

  • Prev by Date: Re: Hints for supporting dragging a file onto the dock icon, then onto a row in menu presented at that point?
  • Next by Date: Re: kABHomeLabel … and companions
  • Previous by thread: Timeout after application:openFile: stalling applescript
  • Next by thread: Re: Timeout after application:openFile: stalling applescript
  • Index(es):
    • Date
    • Thread