Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- Subject: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- From: Jerry Krinock <email@hidden>
- Date: Fri, 23 Jan 2015 12:18:38 -0800
> On 2015 Jan 23, at 11:40, Steve Mills <email@hidden> wrote:
>
> I can't find any docs for "present last logged error”.
Thank you, Steve. Oh, there isn’t any. It is only my app, as in MyApp, which implements that command. I made it up. :)
> How do I set up a state so that it will do something? I'm trying your code here and it executes fine, probably because there is no last logged error. I tried first sending an AppleScript that asked for document 1, which generated an error because there is no document.
Indeed. The way I’m using -[NSAppleScript executeAndReturnError:] is, as far as I can see, 100% perfect Cocoa and it works fine on my Mac. The crash report is a paradox of some kind.
Jerry
_______________________________________________
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