Jump to content

_IECreateEmbedded dont wait for load because my GUI freezes


Recommended Posts

Hello,

When using _IECreateEmbedded, like in the example in the AutoIT help, it waits till the page is completely loaded before you can do anything else in your GUI. Therefore if the page doesnt load for some reason i.e a problem with the website or internet connection etc, the GUI will not repspond to any user request so the only way to close GUI is task manager.

Is there a workaround for this?

Nevodj

Link to comment
Share on other sites

It happens sometime. It crashes for some reason as you mentioned and it stuck. But i dont know if it is ur IE, ur computer problem or ur GUI problem.

If you want you can post some code to test it and then people can tell you whats going on

I feel nothing.It feels great.

Link to comment
Share on other sites

There is an $f_wait parameter you can pass to _IECreate. You can also use _IELoadWaitTimeout to change how long it will wait for the load (default is 5 minutes).

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...