Jump to content

_IEDocWriteHTML, _IEBodyWriteHTML , _IEDocInsertText hangs


ozmike
 Share

Recommended Posts

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 )
Link to comment
Share on other sites

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

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

Monkey's are, like, natures humans.

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