HaHaBurGeR Posted July 5, 2010 Share Posted July 5, 2010 (edited) $sURL = "url" $sSearch = "---" $saniye =InputBox("") * 1000 $kategori =InputBox("") $oIE = _IECreate ($sURL) $1 = _IEFormGetObjByName($oIE) If StringInStr(_IEBodyReadHTML($oIE), $sSearch) Then ShellExecute("alarm.mp3") WinSetState("Windows Media Player","",@SW_HIDE) _IECreate ($sURL) WinWaitActivate("Internet explorer") _IELoadWait($1) i want my program wait for internet explorer loading but my program doesnt wait.I'm very new :)Please help me Edited July 5, 2010 by HaHaBurGeR Link to comment Share on other sites More sharing options...
Makaule Posted July 5, 2010 Share Posted July 5, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now