gooker Posted April 24, 2008 Posted April 24, 2008 when i use $oIE.document.parentwindow.execScript("call('call');") to put a javascript function,and then use _IELoadWait to wait the webpage to lode completely,i found _IELoadWait($oIE) can't work well, how can solve this problem? ths Dale for good ie.au3
DaleHohm Posted April 24, 2008 Posted April 24, 2008 Please explain more about what does not work well. 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
gooker Posted April 24, 2008 Author Posted April 24, 2008 $oIE.document.parentwindow.execScript("call('call');") _IELoadWait($oIE)exit i want the javascript function load completely and then exit,but now autoit exit immediately,it's like the _IELoadWait($oIE) not work,do you understand?
TomZ Posted April 24, 2008 Posted April 24, 2008 We'll proably be able to be of more help if you also show us what the javascript you're executing does.
gooker Posted April 24, 2008 Author Posted April 24, 2008 i know but it need login a website,and the javascript function in a .js file, so i can't make a simple.can you tell me,when i do $oIE.document.parentwindow.execScript("call('call');") ;; call a javascript function_IELoadWait($oIE)this _IELoadWait($oIE) can wait the webpage to load completely?
DaleHohm Posted April 24, 2008 Posted April 24, 2008 If you can't give us access to the webpage or to the source, then you need to explain in much greater detail what happens and what you expected to happen. Does it wait for the page to load? Does it hang? Does it give you an error? 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
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