Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- Subject: Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]
- From: Shane Stanley <email@hidden>
- Date: Sat, 24 Jan 2015 11:59:21 +1100
On 24 Jan 2015, at 11:40 am, Shane Stanley <email@hidden> wrote:
>
>> where [[NSBundle mainAppBundle] bundlePath] returns “com.mycompany.MyApp”.
>
> In that case, you should be using @"tell application id \"%@\"\n".
Ignore that. Your code says bundlePath, but I focused on your description, which looks more like a UTI.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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