• 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: running javascript from obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running javascript from obj-C


  • Subject: Re: running javascript from obj-C
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 03 Mar 2010 11:03:48 -0800
  • Thread-topic: running javascript from obj-C

On Wed, 3 Mar 2010 11:14:01 +1100, Russell Gray
<email@hidden> said:
>What I was wanting to know, is how do I apply the javascript to Safari?

Safari implements an AppleScript command "do JavaScript". So you can do this
by sending Safari an Apple event. Operators are waiting to take your call.
:) m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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

  • Prev by Date: Re: Messaging Cocoa apps through Terminal
  • Next by Date: Re: Trying to achieve aperture PopUp buttons
  • Previous by thread: Re: running javascript from obj-C
  • Next by thread: Using a NSNumberFormatter with a UITextField
  • Index(es):
    • Date
    • Thread