I'm trying to build a loop that updates a URL and refreshing a HTML page.
Do you know the best way to do this?
https://kind.krx.co.kr/common/disclsviewer.do?method=search&acptno=20211025000089&docno=&viewerhost=&viewerport=
https://kind.krx.co.kr/common/disclsviewer.do?method=search&acptno=20211025000090&docno=&viewerhost=&viewerport=
https://kind.krx.co.kr/common/disclsviewer.do?method=search&acptno=20211025000091&docno=&viewerhost=&viewerport=
I just need to create a loop that refreshes the page to the new number (89, 90, 91, etc.) when the header title is "not what I'm looking for".
Thanks for your help as always!
Code: Select all
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := true
wb.Navigate("https://kind.krx.co.kr/common/disclsviewer.do?method=search&acptno=20211025000089&docno=&viewerhost=&viewerport=")
while wb.busy or wb.ReadyState != 4
Sleep, 10