• 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: Google Chrome: Set variable to result of JavaScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Google Chrome: Set variable to result of JavaScript


  • Subject: Re: Google Chrome: Set variable to result of JavaScript
  • From: julifos <email@hidden>
  • Date: Wed, 13 Jul 2011 09:42:21 +0200
  • Thread-topic: Google Chrome: Set variable to result of JavaScript

Like this (for future reference ;-):

########
make new web window with properties {path name:"http://www.google.com/";,
script:foo}


script foo
 on pageloaded w
  callJavaScript w script "document.getElementById('q').value='done
loading!'"
 end pageloaded
end script

########



jj


El 13/07/11 01:30, "Emmanuel LEVY" <email@hidden> escribió:

>For those interested, Smile's web window receives a "pageloaded" event
>when the page is safe.
>
>Emmanuel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Google Chrome: Set variable to result of JavaScript
      • From: Christopher Stone <email@hidden>
    • Re: Google Chrome: Set variable to result of JavaScript
      • From: Bruce Robertson <email@hidden>
References: 
 >Re: Google Chrome: Set variable to result of JavaScript (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Google Chrome: Set variable to result of JavaScript
  • Next by Date: Re: Google Chrome: Set variable to result of JavaScript
  • Previous by thread: Re: Google Chrome: Set variable to result of JavaScript
  • Next by thread: Re: Google Chrome: Set variable to result of JavaScript
  • Index(es):
    • Date
    • Thread