Sign in to follow this  
Followers 0
Nefarious

Return HWnd($o_object.HWND ()) ....error

5 posts in this topic

Return HWnd($o_object.HWND ()) 
Return ^ ERROR
>Exit code: 0    Time: 0.413

...in IE.Au3. When I compile the script and run it I get this...

Line 0 (File ...myscript):

Return HWnd($o_object.HWND ())

Return ^ ERROR

Error: The requested action with this object has failed.

Any ideas as to what would cause this? It's kind of difficult to search Line 0 for problems considering it doesn't exist. :whistle:

Share this post


Link to post
Share on other sites



You don't specify the code you have written that leads to this, but I will guess that you are using _IEAttach and that you are also using an IE emulator (like the IETab Firefox extension, Maxathon, MyIE2 for example). If so, my apologies... I know of the error but have not yet released the fix. You should be able to add _IEErrorHandlerRegister() to you code and it will allow you to run past the error.

If your situation is different, please let me know more detail so that I can trap and fix it.

Dale

Return HWnd($o_object.HWND ()) 
Return ^ ERROR
>Exit code: 0    Time: 0.413

...in IE.Au3. When I compile the script and run it I get this...

Line 0 (File ...myscript):

Return HWnd($o_object.HWND ())

Return ^ ERROR

Error: The requested action with this object has failed.

Any ideas as to what would cause this? It's kind of difficult to search Line 0 for problems considering it doesn't exist. :whistle:


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

You don't specify the code you have written that leads to this, but I will guess that you are using _IEAttach and that you are also using an IE emulator (like the IETab Firefox extension, Maxathon, MyIE2 for example). If so, my apologies... I know of the error but have not yet released the fix. You should be able to add _IEErrorHandlerRegister() to you code and it will allow you to run past the error.

If your situation is different, please let me know more detail so that I can trap and fix it.

Dale

The script in question is a bit large to post so I've sent it to you via PM. Please review at your own convenience. Thanks. :whistle:

Share this post


Link to post
Share on other sites

This is the same error that the script Nova posted here throws.

Share this post


Link to post
Share on other sites

This is the same error that the script Nova posted here throws.

Nova's thread you link to involves attaching to an IE window using the window title.

I see no connection to this thread whatsoever.

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

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