Sign in to follow this  
Followers 0
gooker

i have problem with _IELoadWait

6 posts in this topic

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 :D


Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

$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?


Share this post


Link to post
Share on other sites

We'll proably be able to be of more help if you also show us what the javascript you're executing does.

Share this post


Link to post
Share on other sites

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?


Share this post


Link to post
Share on other sites

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

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