Re: IE check if page is fully loaded
Re: IE check if page is fully loaded
- Subject: Re: IE check if page is fully loaded
- From: Matt Binkowski <email@hidden>
- Date: Wed, 27 Jun 2001 16:43:38 -0400
tell application "Internet Explorer"
Activate
OpenURL "
http://mail.yahoo.com/"
--wait for page to fully load (thanks to MacGuy for this routine!)
set frontmost_window to item 1 of {ListWindows}
set wait_flag to ""
repeat until wait_flag = "complete"
set wait_flag to do script "document.readyState" window
frontmost_window
end repeat
-- type login info using Sigma's Additions
type text "your username here"
type text tab
type text "your password here"
type text (ASCII character 3) -- aka "Enter"
end tell