• 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
AppleScripting with Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AppleScripting with Safari
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Problems to cahnge font in AI 10
  • Next by Date: [OT] Re: applescript and browsers
  • Previous by thread: Re: Problems to cahnge font in AI 10
  • Next by thread: Re: AppleScripting with Safari
  • Index(es):
    • Date
    • Thread