Sign in to follow this  
Followers 0
erezlevi

question about objevent

1 post in this topic

$oIE=ObjCreate("InternetExplorer.Application")

$SinkObject=ObjEvent($oIE,"IEEvent_","DWebBrowserEvents2") 

sleep(3000) 

;$oIE.Navigate( "http://www.AutoItScript.com/" )

sleep(3000) 

Func IEEvent_ProgressChange()
  MsgBox (0,"works","")
EndFunc

this code is from the help file, why without the $oIE.Navigate line I can't get the func to work? I did create the object an assing DWebBrowserEvents2 to it, so why? it should work for every web page I am opening? no?

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  
Followers 0