AppleScripting with Safari
AppleScripting with Safari
- Subject: AppleScripting with Safari
- From: Peter Wait <email@hidden>
- Date: Thu, 29 Jan 2004 10:53:40 -0800
My goal is to duplicate with AppleScript what I do manually. I call Safari,
enter the URL for my financial account, which brings up a logon page, I
enter my user ID and password, click on continue; then go through 2 more
pages and get to my table of transactions. I9d like to format these
transactions so I can import them into Quicken (which isn9t applescriptable)
This is as far as I get:
tell application "Safari"
set theURL to "
https://www.financialaccount.com/"
open location theURL
repeat until the name of document 1 = "Login Page"
end repeat
get class of document 1
get properties of document 1
end tell
The class of document 1 is 3Document2 and its properties consist of about 50
lines, several saying 3java script2. I suppose it9s what tells Safari how to
format the page. I9m stuck at how do I enter my UserID and password in
applescript, so I can continue. I see the field names in the text of the
document9s properties, but I don9t know how to use them.
Any suggestions would be greatly appreciated. I9m obviously a fairly new kid
on the block.
Peter Wait
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.