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 17:36:53 -0800
> On 2015 Jan 23, at 17:17, Steve Mills <email@hidden> wrote:
>
> Oh, that reminds me. I had to change it to mainBundle instead of mainAppBundle.
The method is -mainAppBundle, but indeed you don’t have it. I wrote it. It returns the bundle of the enclosing “main” app when run from a helper tool, so that the helper tool can access resources or whatever.
_______________________________________________
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