• 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
CallJS sample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CallJS sample


  • Subject: CallJS sample
  • From: Huibert Aalbers <email@hidden>
  • Date: Sun, 19 May 2013 15:06:07 -0500

Hi everyone,

I have been taking a look at the Javascript bridge as a way to allow users to script my Mac app. I have downloaded the CallJS sample from Apple and everything seems simple enough. However, it looks like the "Run JavaScript" button doesn't work, as the sentence [theWebView stringByEvaluatingJavaScriptFromString:[[scriptText textStorage] string]] doesn't seem to return anything.

Any ideas on what may be wrong with the sample?

Regards,

Huibert Aalbers
_______________________________________________

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: CallJS sample
      • From: Felix Franz <email@hidden>
  • Prev by Date: NSSharingService and default mail client
  • Next by Date: Lazy Fetching - Bug?
  • Previous by thread: Re: NSSharingService and default mail client
  • Next by thread: Re: CallJS sample
  • Index(es):
    • Date
    • Thread