Elmer Posted October 3, 2011 Share Posted October 3, 2011 a simple LOGIN script has worked for a couple years, now gives me: >"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Sue\Documents\Kens\AutoIT\lib.au3" --> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatchC:\Users\Sue\Documents\Kens\AutoIT\lib.au3 (45) : ==> Variable must be of type "Object".:$oIE.Navigate2("http://sapl.sat.lib.tx.us/patroninfo", 2048)$oIE^ ERROR>Exit code: 1 Time: 1.906I have the #include#include <IE.au3>Global $oIE I'm not that experienced, so I'm at a loss... HELP please. TYIAElmer Link to comment Share on other sites More sharing options...
water Posted October 3, 2011 Share Posted October 3, 2011 What version of the Internet Explorer do you use? Did you switch to IE9 lately? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Elmer Posted October 3, 2011 Author Share Posted October 3, 2011 I'm running IE8 still. Another "facts" that's "different" suddenly: My CA Virus software now finds 2 AUTOit files "suspicious", but says it hasn't done anything to/with them. (autoit2exe\autoitSC.bin & autoit_v3_setup.exe) Link to comment Share on other sites More sharing options...
DaleHohm Posted October 3, 2011 Share Posted October 3, 2011 This is the important message: --> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatchYou'll needto debug your _IEAttach statement. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Elmer Posted October 3, 2011 Author Share Posted October 3, 2011 OK Dale, I give... I've UnInstalled AutoIt3 and reloaded completely. No change. I've checked the script and even put the full path to IE.au3. There is no "_IEStatus_NoMatch" in the script, and the "_IEAttach" syntax appears correct. Any other thoughts? Link to comment Share on other sites More sharing options...
DaleHohm Posted October 4, 2011 Share Posted October 4, 2011 Your syntax may be correct, but it is not finding an IE window to match the criteria you gave in your _IEAttach statement. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Elmer Posted October 4, 2011 Author Share Posted October 4, 2011 Thanks Dale, you were correct. I was using a ProcessExists("iexplore.exe") to test for an available IE. There are always iexplore.exe running on my system (Sidebar, etc), but it couldn't IEAttach("","instance",1). I've cleaned up the logic and now things are stable. Thanks for the HELP and learning experience - again! EJ 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