Jump to content

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
    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 by HaHaBurGeR
Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...