Jump to content
Sign in to follow this  
HaHaBurGeR

My program doesnt waiting ie

Recommended Posts

HaHaBurGeR

$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

Share this post


Link to post
Share on other sites
Makaule

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.