• 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
Re: AppleScript and Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript and Safari


  • Subject: Re: AppleScript and Safari
  • From: Emmanuel <email@hidden>
  • Date: Tue, 9 Nov 2004 14:53:27 +0100

At 8:05 AM -0500 11/9/04, Steve Suranie wrote:

1. Is there a way to script Safari so it will download files to my hard drive (I want to download some XML files on a redundant basis).

open location "theURL"

2. If not, is there a way for AppleScript to know when a page in Safari has loaded?

tell application "Safari" to do JavaScript "document.readyState" in document 1

 -- loading: the page is loading
 -- complete: the page is loaded

Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >AppleScript and Safari (From: "Steve Suranie" <email@hidden>)

  • Prev by Date: RE: AppleScript and Safari
  • Next by Date: Re: AppleScript and Safari
  • Previous by thread: AppleScript and Safari
  • Next by thread: Re: AppleScript and Safari
  • Index(es):
    • Date
    • Thread