Re: Help clicking a web button with AppleScript without GUI scripting
Re: Help clicking a web button with AppleScript without GUI scripting
- Subject: Re: Help clicking a web button with AppleScript without GUI scripting
- From: Doug McNutt <email@hidden>
- Date: Wed, 11 Jun 2008 09:55:22 -0600
At 06:52 -0700 6/11/08, Matt Neuburg wrote:
>There is no need to use Safari at all for this. What I do is to use "curl"
>to send a POST request identical to what Safari *would* say if you *did*
>fill in the web form and click the submit button. To find out what that is,
>fill in the web form and click the submit button while intercepting HTTP
>messages (you can do this in several ways; I use Interarchy).
>
>There is an example of this approach in my AppleScript book, though it no
>longer works because the server at the far end changed the Web page (and
>therefore no longer accepts the page and POST arguments that were working at
>the time the book was written)....
And that last part is a real PITA. I have pretty much given up using perl and curl to access my brokerage and bank accounts. The gurus in those places seem to think the important thing is to get you to read their advertising rather than to check your charges and balances quickly enough to frustrate identity theft. I quit when I had to curl down over 100 separate pages just to receive long random strings and one-pixel images that were there just to get cookies from divers security contractors' sites.
The Greasemonkey addin for Firefox shows promise but it stopped working as of the latest version 3 release from Mozilla. The LiveHTTPheaders addin is nice for seeing just what the browser has to do while you do the log-in thing.
If there is interest, the last version of my perl / curl stuff is at:
<ftp://ftp.macnauchtan.com/Software/FinpMod/FinpMod.pm>
<ftp://ftp.macnauchtan.com/Software/FinpMod/Samples/>
I did use Applescript as a front end until I moved the entire operation to a cron job on a free Linux box.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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