Jump to content
Sign in to follow this  
Elmer

suddenly have a "navigate2 " problem

Recommended Posts

Elmer

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_NoMatch

C:\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.906

I have the #include

#include <IE.au3>

Global $oIE

I'm not that experienced, so I'm at a loss... HELP please.

TYIA

Elmer

Share this post


Link to post
Share on other sites
water

What version of the Internet Explorer do you use? Did you switch to IE9 lately?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Elmer

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

This is the important message:

--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch

You'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

Share this post


Link to post
Share on other sites
Elmer

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

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

Share this post


Link to post
Share on other sites
Elmer

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

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  

×