6105 Posted March 10, 2012 Share Posted March 10, 2012 When i try to wait loading of __IENavigate, that never wait Reproducer: #include <IE.au3> $oIE = _IECreate ('autoitscript.com') _IELoadWait($oIE) For $i=0 To 10 Step +1 __IENavigate($oIE, 'autoitscript.com', 1, 0x800) _IELoadWait($oIE) Next Sleep(5000) _IEQuit($oIE) Also i try to use $f_wait, 3th Parrameter of __IENavigate, but that also not work __IENavigate($o_object, $s_Url, $f_wait, $i_flags) Thanks for any tips [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
DaleHohm Posted March 10, 2012 Share Posted March 10, 2012 That is precisely why __IENavigate is an undocumented function. When you use it to create a new window or tab, the handle of the new object is not given back to the caller. After creating the new tab, you'll need to get it's object reference with _IEAttach, then you can use that with _IELoadWait() Dale 6105 1 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now