erezlevi Posted January 26, 2008 Share Posted January 26, 2008 $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? 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