AppleScript to react to buttonpress on webpage
AppleScript to react to buttonpress on webpage
- Subject: AppleScript to react to buttonpress on webpage
- From: email@hidden
- Date: Wed, 28 Nov 2001 18:13:17 EST
I need to write an application that:
1) detects if a person is on a particular page on a web-site. (This page
tells the user what their username/password is, and has a "connect" button
underneath the text.)
2) parses the page for the username/password text that's displayed
3) passes those two variables as parameters to a Unix shell script when the
user hits the "connect" button on that web-page.
I know that AppleScript can parse the html content within a webpage. The
problem I'm having is how to create a button on that web-page that
AppleScript can react to. Can JavaScript/AppleScript talk to each other?