Jump to content

_IECreateEmbedded() How to wait loading other page


Recommended Posts

I am trying to use _IECreateEmbedded().

My script is opening a internet explorer windows, Waiting for a user to sign up and continue the script when the user is signed.

I was using WinWait for the script knows with the title that the user signed and continue the process.

Does anybody know how can I do something like that with a embedded Internet explorer when I don't have a new widows name for every HTML pages?

Thanks!

Link to comment
Share on other sites

I am trying to use _IECreateEmbedded().

My script is opening a internet explorer windows, Waiting for a user to sign up and continue the script when the user is signed.

I was using WinWait for the script knows with the title that the user signed and continue the process.

Does anybody know how can I do something like that with a embedded Internet explorer when I don't have a new widows name for every HTML pages?

Thanks!

Figure out something else unique about the page displayed instead of keying off of a window title. For example, the value of _IEPropertyGet($oIE, "locationurl") is likely different. You could look for particular elements on the page with _IEGetObjByName() or look at the source with _IEBodyReadHTML().

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

Figure out something else unique about the page displayed instead of keying off of a window title. For example, the value of _IEPropertyGet($oIE, "locationurl") is likely different. You could look for particular elements on the page with _IEGetObjByName() or look at the source with _IEBodyReadHTML().

Dale

For a similar problem here is what i do and thats works :

I open Internet explorer with option : not waiting $Oie loading and i test the appartion of the control windows

after i send my identifiant and password and clik OK and after i wait my page is entirely load

I can't show you my code because of pwd but if you send me the url where you want to automate i will give you the example with your code

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...