Re: Detecting when URL has been loaded in Safari???
Re: Detecting when URL has been loaded in Safari???
- Subject: Re: Detecting when URL has been loaded in Safari???
- From: "email@hidden" <email@hidden>
- Date: Tue, 29 Sep 2009 08:17:55 -0700
This doesn't work if the URL you set is changed once the page is
loaded, e.g.
How about this?
tell application "Safari"
activate
set myWIndow to make new document at beginning
set newURL to URL of myWIndow
set URL of document 1 to "http://www.redmeat.com"
repeat
if URL of document 1 is not newURL then exit repeat
delay 1
end repeat
end tell
HTH,
ES
_______________________________________________
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