> On 25 Jun 2015, at 12:34, Sandor Szatmari <admin.szatmari....@gmail.com> > 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com