Jump to content

Help with Script Not Running on Windows 10


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...