Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Safari Beta 2 includes AppleScript to JavaScript bridge Web Browsers
Safari Beta 2 adds a new do JavaScript command that enables AppleScript to communicate with the browser via JavaScript! See Apple's Do JavaScript Command page (note that there's a second page with more examples, as well as links to more extensive documentation).

Not terribly hinty, but worth a look if you'd like to use AppleScript to work with JavaScript on Safari pages.
    •    
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[5,817 views]  

Safari Beta 2 includes AppleScript to JavaScript bridge | 3 comments | Create New Account
Click here to return to the 'Safari Beta 2 includes AppleScript to JavaScript bridge' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Safari Beta 2 includes AppleScript to JavaScript bridge
Authored by: shmert on Apr 18, '03 11:26:14AM

DOMXML, anyone? I could see this being a fun way to generate
a document using javascript DOMXML calls from Applescript,
maybe even create some rudimentary page layout generation, or
an HTML form that posts some data from a non-web application
to a website...



[ Reply to This | # ]
Safari Beta 2 includes AppleScript to JavaScript bridge
Authored by: Krioni on Apr 18, '03 03:37:33PM
The do javascript command lets you do quite a lot. Read http://developer.apple.com/internet/javascript/ dom2i.html to see Safari's Javascript DOM.

[ Reply to This | # ]
oops. Apple's page has a link to the DOM, too
Authored by: Krioni on Apr 18, '03 03:39:26PM

oops. Apple's page has a link to the DOM, too



[ Reply to This | # ]