Sign in to follow this  
Followers 0
ozmike

_IEDocWriteHTML, _IEBodyWriteHTML , _IEDocInsertText hangs

4 posts in this topic

Hi 

 

Wondering if anyone is having this problem _IEDocWriteHTML never completes web page (see example)  does display but never reaches the  console write. Also the help example for _IEDocWriteHTML & _IEBodyWriteHTML , _IEDocInsertText

displays the page never exits. _IEDocInsertText the help example 3 works fine and will exit after removing the loop _IEDocInsertText help example 1 hangs. The help example for _IEDocInsertHTML works . The help examples that work refer to an external web site (www.autoit,com) dynamically made pages no longer work with these write methods..is this a ie new security tightening issue..?

 I'm using ie11, Is this to do with latest IE updates..? So what do we do if we need to make a dynamic HTML page.

#include <IE.au3>

Local $oIE = _IECreate()
Local $sHTML = ""
$sHTML = "<html>  " & _
                 " <body>" & _
         "Hello World" & _
                 " </body></html>"
_IEDocWriteHTML($oIE, $sHTML)
ConsoleWrite( @CR & "--- NEVER GETS HERE  " & @CR )

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

IE version?

 

ie11

edit

removed emoticons

Edited by Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Might be something to do with that last IE update, check wu history and remove it.

I see you already mentioned that.

Sorry, having a gaga day.

Edited by JohnOne
1 person likes this

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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