Research/Etc
[Autohotkey] Is there a way to REALLY KNOW when a web page is loaded?
sunnyan
2009. 11. 10. 10:36
728x90
URL := "http://www.msdn.microsoft.com"
Run, %URL%, MAX
Winwait, %URL%
AHKID := WinExist("A")
; Make sure you have the Window ID of the browser instance
Ctr=0
Loop {
Sleep, 100
Ctr+=1
ControlGet, Progress, Visible,, msctls_progress321, ahk_id %AHKID%
If (Progress=1) {
Ctr=0
Continue
}
If (Progress=0 AND Ctr>10)
Break
}
MsgBox, Page Loaded Completely!
http://www.autohotkey.com/forum/topic13569.html&sid=dd6d5a20b38ee7dc6a650f481473b13e
728x90