Jump to content

Recommended Posts

Posted

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 )
Posted (edited)

IE version?

 

ie11

edit

removed emoticons

Edited by Chimp

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...