Re: Scripting Bridge Questions
Re: Scripting Bridge Questions
- Subject: Re: Scripting Bridge Questions
- From: Dave <email@hidden>
- Date: Thu, 25 Jun 2015 13:09:14 +0100
> On 25 Jun 2015, at 12:34, Sandor Szatmari <email@hidden> wrote:
>
> I wrote an interface to a third party app using the Scripting Bridge. It worked pretty good but I had to test the SBApplication object for nil before accessing it. Periodically it would return nil unexpectedly. Don't know if that was a bug in the app's implementation or something I was doing wrong. But other than that it worked great.
>
> I did what you described, first use sdef and sdp to create the header. Include the header and then create an instance of SBApplication using the third party app's bundle identifier 'com.name.whatever'. I have definitely seen apps that are broken too. They support AppleScript but not fully or something so the scripting bridge is broken for them.
>
> Sandor Szatmari
That’s the problem, “sdef" and/or “sdp" barf when I try to generate the header file and without the header file you are pretty much dead in the water.
Cheers
Dave
_______________________________________________
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