Elmer 0 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 Share this post Link to post Share on other sites
water 2,391 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 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
Elmer 0 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) Share this post Link to post Share on other sites
DaleHohm 65 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, curlMSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object modelAutomate input type=file (Related)Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better?IE.au3 issues with Vista - WorkaroundsSciTe 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 Share this post Link to post Share on other sites
Elmer 0 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? Share this post Link to post Share on other sites
DaleHohm 65 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, curlMSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object modelAutomate input type=file (Related)Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better?IE.au3 issues with Vista - WorkaroundsSciTe 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 Share this post Link to post Share on other sites
Elmer 0 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 Share this post Link to post Share on other sites