Jump to content

Recommended Posts

Posted

I have a new computer and my old code is not working when I call _IENavigate...

It seems it loses connections with the current open IE instance:

--> IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147023179, Browser has been deleted prior to operation.)

 

I remember having to do something in IE setting or computer setting on my old desktop, since some IE functions changed a few years back, but I cant remember what that was and cant find my old posts here in the forum.

 

Anyone got any idea of what might be happening?

Posted

Have a look at the remarks for _IELoadWait in help file, the issue maybe related to security restrictions, redirection etc...  So either try sleep or  _IEPropertyGet($oIE, "Busy") or look for status message to tell you when the page has loaded.

Posted

But it says that the Client has disconnected...

If the loop continues I keep getting this:

--> IE.au3 T3.0-2 Error from function _IENavigate, $_IESTATUS_InvalidObjectType

 

I have already followed the instructions on _IECreate help file.

Posted

Now I got a different error after adding unchecking the https option on IE settings.

 

"C:\Program Files (x86)\AutoIt3\Include\IE.au3" (272) : ==> The requested action with this object has failed.:
$oObject.navigate($sUrl)
$oObject^ ERROR

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
×
×
  • Create New...