본문 바로가기
Research/Etc

[Autohotkey] Is there a way to REALLY KNOW when a web page is loaded?

by sunnyan 2009. 11. 10.
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

'Research > Etc' 카테고리의 다른 글

xshell 환경설정 디렉토리를 지정하는 방법  (0) 2017.08.30
블루투스 오디오 송신기  (0) 2014.05.15
아웃룩(outlook): Mail notify  (0) 2012.03.23
Android 버전별 코드네임.  (0) 2011.10.20
Windows shortcut file format  (0) 2009.09.18