Re: AppleScript and Safari
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