Re: Checking whether a website has loaded completely
Re: Checking whether a website has loaded completely
- Subject: Re: Checking whether a website has loaded completely
- From: Peter Fischer <email@hidden>
- Date: Fri, 24 May 2002 13:56:12 +0200
set frontmost_window to item 1 of {ListWindows}
set wait_flag to ""
repeat until wait_flag = "complete"
set CurrentURL to do script "document.location"
set wait_flag to do script "document.readyState" window frontmost_window
end repeat
This works fine if Internet Explorer is the foreground application
and the conntection to the internet is already active and I think it
does matter that the website is responding fast.
What I need is a sure solution that works with IE in the background
and takes care of slow internet connections.
Any other ideas?
--
Peter Fischer
Fischer-Bayern
"The source for german AppleScripters"
http://www.fischer-bayern.de
_______________________________________________
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.