xcaliber13 Posted July 28, 2017 Share Posted July 28, 2017 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 More sharing options...
abdulrahmanok Posted July 28, 2017 Share Posted July 28, 2017 like this post : please try to add _IEErrorHandleRegister() at the top of script. Link to comment Share on other sites More sharing options...
genius257 Posted July 29, 2017 Share Posted July 29, 2017 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. My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser 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