• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Bridge Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripting Bridge Questions
      • From: Bill Cheeseman <email@hidden>
References: 
 >Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Graham Cox <email@hidden>)
 >Re: Scripting Bridge Questions (From: Dave <email@hidden>)

  • Prev by Date: Re: Scripting Bridge Questions
  • Next by Date: Re: Scripting Bridge Questions
  • Previous by thread: Re: Scripting Bridge Questions
  • Next by thread: Re: Scripting Bridge Questions
  • Index(es):
    • Date
    • Thread