Sign in to follow this  
Followers 0
xcaliber13

Help with Script Not Running on Windows 10

3 posts in this topic

#1 ·  Posted

I have a script that I have been running with no errors on my Windows 7 PC.   I got a Windows 10 PC and when I try to run this script I am getting this error:

--> IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147023179, Browser has been deleted prior to operation.)
--> IE.au3 T3.0-2 Error from function _IEPropertyGet, $_IESTATUS_InvalidObjectType
"C:\Program Files (x86)\AutoIt3\Include\ie.au3" (930) : ==> The requested action with this object has failed.:
Local $oCol = $oObject.document.forms.item($sName)
Local $oCol = $oObject^ ERROR

Seems like the IE.au3 does not like the IE Windows 10 version. 

The script logins into a secure website.     Any idea why this is happening?

Thank you

Share this post


Link to post
Share on other sites



#2 ·  Posted

like this post :

please try to add  _IEErrorHandleRegister() at the top of script.

Share this post


Link to post
Share on other sites

#3 ·  Posted

Hi @xcaliber13.

IE COM has issues with certain URL's. If your issue is only when running on Windows 10, this might not be it.

The script below demonstrates the issue with localhost as an example.

#include <IE.au3>
$oIE = _IECreate("localhost")

Output:

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

A possible fix might be using an iframe.

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