Jump to content
Sign in to follow this  
JackyChan

Edit for me this. It can't do once!

Recommended Posts

JackyChan

I have this script. Please edit help me. Because when IE (http://google.com) exist, it will do many times and IE won't work. Can you help me edit this script: when IE(http://google.com) exist. It will do once time.

#include<ie.au3>
While 1
$oIE = _IEAttach("http://www.google.com", "URL")
If $oIE = 0 then
$oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2")
EndIf 
Sleep(10)
WEnd

Func IEEvent_BeforeNavigate2($notsurewhatthisis, $url, $TargetFrameName, $PostData, $Headers, $Cancel)
    ConsoleWrite($url & @CR)
EndFunc  ;==>IEEvent_BeforeNavigate2
Edited by JackyChan

Share this post


Link to post
Share on other sites
igotandrew

Why do you make a new post when your old thread is on the same page...?

You should just stick to that one.

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  

×