Code: Select all
loop 3
{
Gui, %a_index%:Add, ActiveX, w640 h360 vWB%a_index%, Shell.Explorer
WB%a_index%.Navigate("http://ahkscript.org/boards/")
Gui, %a_index%:Show
While, WB%a_index%.ReadyState() != 4 ; WB%a_index%.ReadyState doesn't work with While expression
sleep 1
;While, WB1.ReadyState() != 4
; sleep 1
msgbox, You will not see this message
}
return