Jump to content
Sign in to follow this  

My program doesnt waiting ie

Recommended Posts


$sURL = "url"
$sSearch = "---"
$saniye =InputBox("") * 1000
$kategori =InputBox("")
$oIE = _IECreate ($sURL)
$1 = _IEFormGetObjByName($oIE)
If StringInStr(_IEBodyReadHTML($oIE), $sSearch) Then
    WinSetState("Windows Media Player","",@SW_HIDE)
    _IECreate ($sURL)
    WinWaitActivate("Internet explorer")

i want my program wait for internet explorer loading but my program doesnt wait.I'm very new :)Please help me

Edited by HaHaBurGeR

Share this post

Link to post
Share on other sites

Maybe because WinWaitActivate doesn't exist. You may use WinWait or WinWaitActive. From What i see in your code, i would advice you to read Help more careful. First of all _IECreate may wait till window would be loaded and after you have used _IECreate, you could simply use _IENavigate for going on different webpage.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this