Sign in to follow this  
Followers 0
GrungeRocker

Router Config with IE.au3

10 posts in this topic

#1 ·  Posted (edited)

Hey folks!

I want to call a address like "http://%username%:%passwort%@%routerip%" with _IECreate or _IENavigate but it gives the following errors:

E:\PROGRA~2\AutoIt3\Include\IE.au3 (286) : ==> The requested action with this object has failed.: 
$o_object.navigate ($s_Url) 
$o_object.navigate ($s_Url)^ ERROR

Any1 got an idea how to get it to work?

Edited by GrungeRocker

[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites



Please put this in your code:

_IEErrorHandlerRegister()

then post some code and the resulting messaes in the SciTe console.

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

--> COM Error Encountered in MiniCity.au3
----> $IEComErrorScriptline = 286
----> $IEComErrorNumberHex = 80020009
----> $IEComErrorNumber = -2147352567
----> $IEComErrorWinDescription = Falscher Parameter.
----> $IEComErrorDescription = 
----> $IEComErrorSource = 
----> $IEComErrorHelpFile = 
----> $IEComErrorHelpContext = 0
----> $IEComErrorLastDllError = 0

_IEErrorHandlerRegister()
    $oIE = _IECreate("192.168.1.1")
    sleep(10000)
    _IENavigate($oIE, "http://admin:passwort@192.168.1.1/DiagADSL.html")

[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

Can you translate this please: Falscher Parameter


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

Wrong Parameter


[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

I don't think IE supports that way of logging in anymore, as it spills out the same error for me(and says that it can't find the page requested instantly when I try to use the same method directly in an IE window)

Share this post


Link to post
Share on other sites

is there any other method to login then?


[font="Verdana"]In work:[list=1][*]InstallIt[*]New version of SpaceWar[/list] [/font]

Share this post


Link to post
Share on other sites

I would say that you proably would have to use the IE udf, and handle the login menu instead..

Unless your router has support for logging in with telnet or perhaps even ssh ...

Share this post


Link to post
Share on other sites

Yes, I would agree with that diagnosis. the username@password syntax has not been allowed in IE for several versions due to security restrictions. There are many examples in the forum and the helpfile using _IECreate and _IEForm* functions to login to a website.

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

Yes, I would agree with that diagnosis. the username@password syntax has not been allowed in IE for several versions due to security restrictions. There are many examples in the forum and the helpfile using _IECreate and _IEForm* functions to login to a website.

Dale

It's quite funny how Mozilla fixed that issue in FireFox. :D

They just added a MessageBox whenever that syntax is used in a link/input. :P

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  
Followers 0