Jump to content

IE about:blank Issues


Recommended Posts

Custom colors in edit boxes, etc, can be accomplished by using XSkinText() functions, which are pretty darned awesome.

But one problem comes up. When embedding IE object as about:blank (to get a blank page to be able to insert custom html code into), you only get <html></html> By default the tag 'Body' is always pre-assumed. But it's the only one.

Example:

_IENavigate($XT_oIE, "about:blank")
$oBody = _IETagNameGetCollection($XT_oIE, "body", 0);- defines the body section

The problem is, if you try and specify HEAD in there, it doesn't work:

_IENavigate($XT_oIE, "about:blank")
$oHead = _IETagNameGetCollection($XT_oIE, "head", 0);- defines the head section

And you get a nice cannot find com error:

--> COM Error Encountered in btcchat.au3
----> $IEComErrorScriptline = 2501
----> $IEComErrorNumberHex = 00000002
----> $IEComErrorNumber = 2
----> $IEComErrorWinDescription = Not an Object type
----> $IEComErrorDescription = 
----> $IEComErrorSource = 
----> $IEComErrorHelpFile = 
----> $IEComErrorHelpContext = 
----> $IEComErrorLastDllError = 0
--> IE.au3 V2.3-1 Error from function _IETagNameGetCollection, $_IEStatus_NoMatch
--> IE.au3 V2.3-1 Error from function _IEDocInsertHTML, $_IEStatus_InvalidDataType

Quickly followed by, when you try and insert to that section:

--> IE.au3 V2.3-1 Error from function _IEDocInsertHTML, $_IEStatus_InvalidObjectType (Expected document element)

So, i have a problem. I need to actually, for each time the script is called, place content in the HEAD section of that about:blank object, otherwise, i can't have show/hide functions when people embed media into the script.

MSIE's about:blank SOURCE only shows:

<HTML></HTML>

Firefox's, on the other hand, shows it properly:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body></body></html>

So, the burning question is, since I am using XSkinText() messages, how in the world can I make it sothat the about:blank embeded IE object has a HEAD section?

Edited by zackrspv

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Not sure what you mean about Firefox doing it correctly... there is no such concept as about:blank in Firefox (it is actually a macro in IE).

Why not

_IENavigate($oIE, "about:blank")

_IEDocWriteHTML($oIE, "<HTML><HEAD></HEAD><BODY></BODY></HTML>")

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

Link to comment
Share on other sites

Not sure what you mean about Firefox doing it correctly... there is no such concept as about:blank in Firefox (it is actually a macro in IE).

Why not

_IENavigate($oIE, "about:blank")

_IEDocWriteHTML($oIE, "<HTML><HEAD></HEAD><BODY></BODY></HTML>")

Dale

i'll give it a go and post results here. As to your comment 'not sure what you mean by about firefox doing it correctly': I opened both FF and IE, and navigated to about:blank in BOTH. And then viewed the source of BOTH. IE did only the HTML tags, but FF's source showed the proper structure.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

i'll give it a go and post results here. As to your comment 'not sure what you mean by about firefox doing it correctly': I opened both FF and IE, and navigated to about:blank in BOTH. And then viewed the source of BOTH. IE did only the HTML tags, but FF's source showed the proper structure.

Didn't know that Firefox had added support for about:blank. Not sure what on what you base the comment about Firefox being "correct" - not that it is really worth debating - HEAD is not a required element. In any case, if you need it there, you should simply write it there.

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

Link to comment
Share on other sites

Didn't know that Firefox had added support for about:blank. Not sure what on what you base the comment about Firefox being "correct" - not that it is really worth debating - HEAD is not a required element. In any case, if you need it there, you should simply write it there.

Dale

Well, i've never been one to debate :) But, it does support it: Wiki page on about:??? URI's

But, yes, I included it in there, and now it's working:

$Obj_RCV = GUICtrlCreateObj($XT_oIE, 6, 22, 609, 645)
_IENavigate($XT_oIE, "about:blank")
ConsoleWrite("At make normal" & @CRLF)
$head = ""
DefineHead()
ConsoleWrite($head & @CRLF)
_IEDocWriteHTML($XT_oIE, "<HTML><HEAD>" & $head & "</HEAD><BODY></BODY></HTML>")
$oBody = _IETagNameGetCollection($XT_oIE, "body", 0)

And the function it calls:

Func DefineHead()
    $head = '<script language="javascript">' & @CRLF
    $head = $head & "<!--" & @CRLF
    $head = $head & "       var state = 'none';" & @CRLF
    $head = $head & "function showhide(layer_ref) {" & @CRLF
    $head = $head & "if (state == 'block') {" & @CRLF
    $head = $head & "state = 'none';" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "else {" & @CRLF
    $head = $head & "state = 'block';" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.all) {" & @CRLF
    $head = $head & 'eval( " document.all." + layer_ref + " .style.display = state");' & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.layers) {" & @CRLF
    $head = $head & "document.layers[layer_ref].display = state;" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.getElementById &&!document.all) {" & @CRLF
    $head = $head & "hza = document.getElementById(layer_ref);" & @CRLF
    $head = $head & "hza.style.display = state;" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "//-->" & @CRLF
    $head = $head & "</script>" & @CRLF
EndFunc;==>DefineHead

This way, when a client embeds a picture, code, object into the chat, it still stays as a single line, but when clicked, will actually display content:

Func XSkinText($msg = "", $color = "black", $size = "3")
    If $msg == "/clr" Then Return
    If $msg == "/exit" Then Exit
    If StringInStr($msg, "/goto:", 1) Then
        $URL = StringSplit($msg, ":")
        Return _IENavigate($XT_oIE, StringStripWS($URL[2], 8), 0)
    EndIf

    $randomdiv = Int(Random(1, 25000))
    $frame1 = '<a name="#" onclick="showhide('
    $frame2 = "'div" & $randomdiv & "'"
    $frame3 = ');"><u><b><font size="-1">[Click to Show/Hide Content]</font></b></u></a>'
    $msg = StringReplace($msg, "[img]", '<div id="div' & $randomdiv & '" style="display:none"><img src="')
    $msg = StringReplace($msg, "[/img]", '"></div>' & $frame1 & $frame2 & $frame3 & '')
    
    $randomdiv = Int(Random(1, 25000))
    $frame1 = '<a name="#" onclick="showhide('
    $frame2 = "'div" & $randomdiv & "'"
    $frame3 = ');"><u><b><font size="-1">[Click to Show/Hide Content]</font></b></u></a>'
    $msg = StringReplace($msg, "[frame]", '<div id="div' & $randomdiv & '" style="display:none"><iframe src="')
    $msg = StringReplace($msg, "[/frame]", '" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="no" scrolling="yes" style="border-width:2px; border-color:#333; background:#FFF; border-style:solid;">Your IE version does not support Inline frames!</iframe></div>' & $frame1 & $frame2 & $frame3 & '')


    $sAppend = '<font color="' & $color & '" size=' & $size & '>' & $msg & '</font><br>'
    _IEDocInsertHTML($oBody, $sAppend)
    $shtmld = _IEDocReadHTML($XT_oIE)
    ConsoleWrite($shtmld & @CRLF)
    $iVisibleHeight = $XT_oIE.document.body.scrollHeight
    $XT_oIE.document.parentwindow.scrollBy(0, $iVisibleHeight)
; End New code
    If Not WinActive('Chat') Then WinFlash('Chat', '', 2, 10)
EndFunc;==>XSkinText

I know, i'm being picky, but i like things to work. So if you have any feedback on that issue, let me know!

Here's an example of what i mean: (Note how the frame is there, but um, no actual site)

Posted Image

Edited by zackrspv

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Thanks for the link about "about:" - very informative.

Seems you are hoping for an answer for a question in your last post, but I cannot figure out what question you are asking. Please try again.

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

Link to comment
Share on other sites

Thanks for the link about "about:" - very informative.

Seems you are hoping for an answer for a question in your last post, but I cannot figure out what question you are asking. Please try again.

Dale

hahahaha that's cuz when i edited the post i removed the question LOL

From the XSKINText() function i included there, if you post a [frame]http://www.google.com[/frame] tag in the chat, it replaces it with a div and iframe html code into the chat app. As the picture shows, it expands the element properly, but doesn't embed the actual page.

The source is correct, but for some reason i can't see it.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Can you post the HTML that isn't working as you expect?

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

Link to comment
Share on other sites

Can you post the HTML that isn't working as you expect?

Sure, here ya go. Tested both in FF and IE directly and works like a charm, but not in that embeded IE object: Note, it may have wrapped some lines :)

<HTML><HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[16:21] <B>phillipr</B>: 
<DIV id=div912 style="DISPLAY: none"><IFRAME style="BORDER-RIGHT: #333 2px solid; BORDER-TOP: #333 2px solid; BACKGROUND: #fff; BORDER-LEFT: #333 2px solid; BORDER-BOTTOM: #333 2px solid" marginWidth=0 marginHeight=0 src="http://www.google.com" frameBorder=no width="100%" scrolling=yes height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div912');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY></HTML>

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

If you can provide a simple stand-alone reproducer I can try to help further, but I don't have the time to test otherwise.

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

Link to comment
Share on other sites

If you can provide a simple stand-alone reproducer I can try to help further, but I don't have the time to test otherwise.

Dale

This should do it:

#include<ButtonConstants.au3>
#include<IE.au3>
#include<WindowsConstants.au3>
#include<GUIConstantsEx.au3>
$title = "test"
$MainGui = GUICreate($Title, 1024, 768, -1, -1)
$XT_oIE = _IECreateEmbedded()
$ChatTab = GUICtrlCreateTab(6, 0, 1016, 759)
$tab2 = GUICtrlCreateTabItem("Chat")
$Obj_RCV = GUICtrlCreateObj($XT_oIE, 6, 22, 609, 645)
_IENavigate($XT_oIE, "about:blank")
ConsoleWrite("At make normal" & @CRLF)
$head = ""
DefineHead()
ConsoleWrite($head & @CRLF)
_IEDocWriteHTML($XT_oIE, "<HTML><HEAD>" & $head & "</HEAD><BODY></BODY></HTML>")
$oBody = _IETagNameGetCollection($XT_oIE, "body", 0)
$EditSend = GUICtrlCreateEdit("", 8, 692, 539, 51, $WS_VSCROLL)
$Send = GUICtrlCreateButton("Send", 550, 692, 57, 53, $BS_DEFPUSHBUTTON)
GUICtrlCreateTabItem(""); end tabitem definition
GUISetState(@SW_SHOW)

$nick = "TestU"
$mycolor = "blue"

While 1
    $msg = GUIGetMsg()
    Switch $msg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Send
            $msg = GUICtrlRead($EditSend)
            $msg = StringRegExpReplace($msg, '(?i)(?s)[^0-9A-Za-z.,:!\?\s\[\]\(\)-=\+_\{\}\*\&\^\%\$\#\@\!]', "", 0)
            $msg = StringRegExpReplace($msg, "\n", "<br>"); <--- Replaces line breaks with HTML code <br>
            If $msg == "/exit" Then Exit; <--- exits the application
            If $msg == "/clr" Then; <--- Clears the screen
                _IENavigate($XT_oIE, "about:blank")
                DefineHead()
                _IEDocWriteHTML($XT_oIE, "<HTML><HEAD>" & $head & "</HEAD><BODY></BODY></HTML>")
                $oBody = _IETagNameGetCollection($XT_oIE, "body", 0)
                $msg = ""; <--- Set message to nothing
            EndIf
            If StringLeft($msg, 4) = "/me " Then; <--- Send an Action
                $msg = StringTrimLeft($msg, 4)
                XSkinText("[" & @HOUR & ":" & @MIN & "] *" & $nick & " " & $msg, "purple", 3)
                $msg = ""
            EndIf
            If Not $msg = "" Then XSkinText("[" & @HOUR & ":" & @MIN & "] " & "<b>" & $nick & "</b>" & ": " & $msg, $mycolor, 3); <--- Update chat program screen
            GUICtrlSetData($EditSend, ""); <-- Reset edit box
            GUICtrlSetState($EditSend, $GUI_FOCUS); <--- Reset focus
    EndSwitch
WEnd

Func DefineHead()
    $head = '<script language="javascript">' & @CRLF
    $head = $head & "<!--" & @CRLF
    $head = $head & "       var state = 'none';" & @CRLF
    $head = $head & "function showhide(layer_ref) {" & @CRLF
    $head = $head & "if (state == 'block') {" & @CRLF
    $head = $head & "state = 'none';" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "else {" & @CRLF
    $head = $head & "state = 'block';" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.all) {" & @CRLF
    $head = $head & 'eval( " document.all." + layer_ref + " .style.display = state");' & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.layers) {" & @CRLF
    $head = $head & "document.layers[layer_ref].display = state;" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "if (document.getElementById &&!document.all) {" & @CRLF
    $head = $head & "hza = document.getElementById(layer_ref);" & @CRLF
    $head = $head & "hza.style.display = state;" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "}" & @CRLF
    $head = $head & "//-->" & @CRLF
    $head = $head & "</script>" & @CRLF
EndFunc ;==>DefineHead

;- ///////////////////////////// FUNCTION: XSkinText() ////////////////////////////////////////////////
;- //// Purpose: To send custom color messages to the screen, which are properly formated ////////////
;- //////////////////////////////////////////////////////////////////////////////////////////////////
Func XSkinText($msg = "", $color = "black", $size = "3")
    If $msg == "/clr" Then Return
    If $msg == "/exit" Then Exit
    If StringInStr($msg, "/goto:", 1) Then
        $URL = StringSplit($msg, ":")
        Return _IENavigate($XT_oIE, StringStripWS($URL[2], 8), 0)
    EndIf
    
    $randomdiv = Int(Random(1, 25000))
    $frame1 = '<a name="#" onclick="showhide('
    $frame2 = "'div" & $randomdiv & "'"
    $frame3 = ');"><u><b><font size="-1">[Click to Show/Hide Content]</font></b></u></a>'
    $msg = StringReplace($msg, "[frame]", '<div id="div' & $randomdiv & '" style="display:none"><iframe src="')
    $msg = StringReplace($msg, "[/frame]", '" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="no" scrolling="yes" style="border-width:2px; border-color:#333; background:#FFF; border-style:solid;">Your IE version does not support Inline frames!</iframe></div>' & $frame1 & $frame2 & $frame3 & '')
    
    ConsoleWrite("Formatted Message: " & $msg & @CRLF)

    $sAppend = '<font color="' & $color & '" size=' & $size & '>' & $msg & '</font><br>'
    _IEDocInsertHTML($oBody, $sAppend)
    $shtmld = _IEDocReadHTML($XT_oIE)
    ConsoleWrite($shtmld & @CRLF)
    $iVisibleHeight = $XT_oIE.document.body.scrollHeight
    $XT_oIE.document.parentwindow.scrollBy(0, $iVisibleHeight)
; End New code
    If Not WinActive('Chat') Then WinFlash('Chat', '', 2, 10)
EndFunc ;==>XSkinText
Edited by zackrspv

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Just checkin to see if you've had a chance to reproduce the problem. If not, that's ok, i'm still hashing it out.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Got the code - need instructions on what to do to reproduce your trouble and what to look for.

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

Link to comment
Share on other sites

Got the code - need instructions on what to do to reproduce your trouble and what to look for.

Dale

KK,

Step #1: Launch the program

Step #2: In chat box, bottom of tab, enter:

[frame]http://www.google.com[/frame]

You can copy and paste that in.

It will automatically remove the tags, and format the HTML.

Click the link in the chat window, and it should expand it.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

I can reproduce it, but cannot explain it.

_IETagnameAllGetCollection sees the FRAME as a tag, but the FRAMES collection is empty.

Sorry, not sure what to suggest. You may want to add _IEErrorHandlerRegister() to see if you get any more clues.

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

Link to comment
Share on other sites

Strike what I said lol, i've had one hell of a long day. I did get a COM error:

=========COM Error==========

--> COM Error Encountered in btcchat.au3

----> $ErrorScriptline = 812

----> $ErrorNumberHex = 80020009

----> $ErrorNumber = -2147352567

----> $ErrorWinDescription = Unspecified error

----> $ErrorDescription = Unspecified error.

----> $ErrorSource =

----> $ErrorHelpFile = D:\WINDOWS\system32\mshtml.hlp

----> $ErrorHelpContext = 0

----> $ErrorLastDllError = 0

And the changed code from above was:

_IEDocInsertHTML($oBody, $sAppend)
    $shtmld = _IEDocReadHTML($XT_oIE)
    ConsoleWrite($shtmld & @CRLF)
    $iVisibleHeight = $XT_oIE.document.body.scrollHeight
    $XT_oIE.document.parentwindow.scrollBy(0, $iVisibleHeight)
    $oframes = _IEFrameGetCollection($XT_oIE)
    $iNumFrames = @extended
    For $i = 0 To ($iNumFrames - 1)
        $oFrame = _IEFrameGetCollection($XT_oIE, $i)
        ConsoleWrite("=========== FRAME ================" & @CRLF & "Location: " & _IEPropertyGet($oframes, "locationurl") & @CRLF & _IEDocReadHTML($oframes) & @CRLF)
    Next
    $oElement = _IETagNameAllGetCollection($XT_oIE)
    For $oElement In $oElement
        ConsoleWrite("============Element Info =========" & @CRLF & "Element Info, Tagname: " & $oElement.tagname & @CR & "innerText: " & $oElement.innerText & @CRLF)
    Next

And result was:

=========== FRAME ================
Location: about:blank
<HTML><HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[14:19] <B>phillipr</B>: 
<DIV id=div2289 style="DISPLAY: none"><IFRAME src="http://www.google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div2289');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY></HTML>
============Element Info =========
Element Info, Tagname: HTML
innerText: [14:19] phillipr: 
[Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: HEAD
innerText: 0
============Element Info =========
Element Info, Tagname: TITLE
innerText: 0
============Element Info =========
Element Info, Tagname: SCRIPT
innerText: 0
============Element Info =========
Element Info, Tagname: BODY
innerText: [14:19] phillipr: 
[Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: FONT
innerText: [14:19] phillipr: 
[Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: B
innerText: phillipr
============Element Info =========
Element Info, Tagname: DIV
innerText: 0
============Element Info =========
Element Info, Tagname: IFRAME
innerText: 0
============Element Info =========
Element Info, Tagname: A
innerText: [Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: U
innerText: [Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: B
innerText: [Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: FONT
innerText: [Click to Show/Hide Content]
============Element Info =========
Element Info, Tagname: BR
innerText: 0

Not sure what else to do lol

Edited by zackrspv

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Well, I changed the code a bit:

_IEDocInsertHTML($oBody, $sAppend)
    $shtmld = _IEDocReadHTML($XT_oIE)
    ConsoleWrite($shtmld & @CRLF)
    $iVisibleHeight = $XT_oIE.document.body.scrollHeight
    $XT_oIE.document.parentwindow.scrollBy(0, $iVisibleHeight)
    $oframes = _IEFrameGetCollection($XT_oIE)
    $iNumFrames = @extended
    For $i = 0 To ($iNumFrames - 1)
        $oFrame = _IEFrameGetCollection($XT_oIE, $i)
        ConsoleWrite("=========== FRAME ================" & @CRLF & "Location: " & _IEPropertyGet($oframes, "locationurl") & @CRLF & _IEDocReadHTML($oframes) & @CRLF)
    Next
    $oElement = _IETagNameAllGetCollection($XT_oIE)
    ConsoleWrite("============Element Info =========" & @CRLF)
    For $oElement In $oElement
        ConsoleWrite("Element Info, Tagname: " & $oElement.tagname & @CRLF)
        ConsoleWrite("=====>innerText: " & $oElement.innerText & @CRLF)
        ConsoleWrite("=====>busy: " & $oElement.busy & @CRLF)
        ConsoleWrite("=====>height: " & $oElement.height & @CRLF)
        ConsoleWrite("=====>width: " & $oElement.width & @CRLF)
        ConsoleWrite("=====>innerhtml: " & $oElement.innerhtml & @CRLF)
        ConsoleWrite("=====>isdisabled: " & $oElement.isdisabled & @CRLF)
        ConsoleWrite("=====>outertext: " & $oElement.outertext & @CRLF)
        ConsoleWrite("=====>outerhtml: " & $oElement.outerhtml & @CRLF)
        ConsoleWrite("=====>screenx: " & $oElement.screenx & @CRLF)
        ConsoleWrite("=====>screeny: " & $oElement.screeny & @CRLF)
        ConsoleWrite("=====>visible: " & $oElement.visible & @CRLF)
        ConsoleWrite("=====>uniqueid: " & $oElement.uniqueid & @CRLF)
        ConsoleWrite("---------------------------------------------------" & @CRLF)
    Next

And this is what it returned: *I'll post my concerns up here lol*

Concern: It looks normal; each of the individual element is showing the html like it is suposed too.

=========== FRAME ================
Location: about:blank
<HTML><HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY></HTML>
============Element Info =========
Element Info, Tagname: HTML
=====>innerText: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY>
=====>isdisabled: 0
=====>outertext: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>outerhtml: <HTML><HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY></HTML>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id1
---------------------------------------------------
Element Info, Tagname: HEAD
=====>innerText: 0
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: 
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: <HEAD>
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id2
---------------------------------------------------
Element Info, Tagname: TITLE
=====>innerText: 0
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: 0
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: 0
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id3
---------------------------------------------------
Element Info, Tagname: SCRIPT
=====>innerText: 0
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: 

<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: 
<script language=javascript>
<!--
        var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id4
---------------------------------------------------
Element Info, Tagname: BODY
=====>innerText: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR>
=====>isdisabled: 0
=====>outertext: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>outerhtml: 
<BODY><FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT><BR></BODY>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id5
---------------------------------------------------
Element Info, Tagname: FONT
=====>innerText: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: [14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A>
=====>isdisabled: 0
=====>outertext: [14:55] phillipr: 
[Click to Show/Hide Content]
=====>outerhtml: <FONT color=blue size=3>[14:55] <B>phillipr</B>: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV><A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A></FONT>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id6
---------------------------------------------------
Element Info, Tagname: B
=====>innerText: phillipr
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: phillipr
=====>isdisabled: 0
=====>outertext: phillipr
=====>outerhtml: <B>phillipr</B>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id7
---------------------------------------------------
Element Info, Tagname: DIV
=====>innerText: 0
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME>
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: 
<DIV id=div10527 style="DISPLAY: none"><IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME></DIV>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id8
---------------------------------------------------
Element Info, Tagname: IFRAME
=====>innerText: 0
=====>busy: 
=====>height: 100%
=====>width: 100%
=====>innerhtml: Your IE version does not support Inline frames!
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: <IFRAME src="http://google.com" width="100%" height="100%">Your IE version does not support Inline frames!</IFRAME>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id9
---------------------------------------------------
Element Info, Tagname: A
=====>innerText: [Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U>
=====>isdisabled: 0
=====>outertext: [Click to Show/Hide Content]
=====>outerhtml: <A onclick="showhide('div10527');" name=#><U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U></A>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id10
---------------------------------------------------
Element Info, Tagname: U
=====>innerText: [Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <B><FONT size=-1>[Click to Show/Hide Content]</FONT></B>
=====>isdisabled: 0
=====>outertext: [Click to Show/Hide Content]
=====>outerhtml: <U><B><FONT size=-1>[Click to Show/Hide Content]</FONT></B></U>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id11
---------------------------------------------------
Element Info, Tagname: B
=====>innerText: [Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: <FONT size=-1>[Click to Show/Hide Content]</FONT>
=====>isdisabled: 0
=====>outertext: [Click to Show/Hide Content]
=====>outerhtml: <B><FONT size=-1>[Click to Show/Hide Content]</FONT></B>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id12
---------------------------------------------------
Element Info, Tagname: FONT
=====>innerText: [Click to Show/Hide Content]
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: [Click to Show/Hide Content]
=====>isdisabled: 0
=====>outertext: [Click to Show/Hide Content]
=====>outerhtml: <FONT size=-1>[Click to Show/Hide Content]</FONT>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id13
---------------------------------------------------
Element Info, Tagname: BR
=====>innerText: 0
=====>busy: 
=====>height: 
=====>width: 
=====>innerhtml: 0
=====>isdisabled: 0
=====>outertext: 0
=====>outerhtml: <BR>
=====>screenx: 
=====>screeny: 
=====>visible: 
=====>uniqueid: ms__id14
---------------------------------------------------

So, what in the world is the issue?

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Decided to experiment some, and change up the code:

$msg = StringReplace($msg, "[frame]", '<iframe src="')
$msg = StringReplace($msg, "[/frame]", '" id="div' & $randomdiv & '" style="DISPLAY:none" width="100%" height="100%">Your IE version does not support Inline frames!</iframe>' & $frame1 & $frame2 & $frame3 & '')

Again, it works perfectly within a normal webbrowser, but still, not within this embeded one. Full Source:

<HTML><HEAD>
<script language=javascript>
<!--
var state = 'none';
function showhide(layer_ref) {
if (state == 'block') {
state = 'none';
}
else {
state = 'block';
}
if (document.all) {
eval( " document.all." + layer_ref + " .style.display = state");
}
if (document.layers) {
document.layers[layer_ref].display = state;
}
if (document.getElementById &&!document.all) {
hza = document.getElementById(layer_ref);
hza.style.display = state;
}
}
//-->
</SCRIPT>
</HEAD>
<BODY><FONT color=blue size=3>[14:08] <B>phillipr</B>: 
<IFRAME id=div4150 style="DISPLAY:none" src="http://www.google.com" width="100%" height="100%">Your IE version does not 

support Inline frames!</IFRAME><A onclick="showhide('div4150');" name=#><U><B><FONT size=-1>[Click to Show/Hide 

Content]</FONT></B></U></A></FONT><BR></BODY></HTML>

COM errors are the exact same.

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Link to comment
Share on other sites

Stand-alone Internet Explorer uses the InternetExplorer object model. Embedded uses WebBrowser object model. They are very similar, but there are differences.

Check my sig for MSDN reference links as a starting point. I expect the nuance of this to be in IE and these two object models rather than in AutoIt. At the moment I cannot think of anything further to offer.

Dale

p.s. If you have the knowledge, you could test this WebBrowser embedding using VB.Net or similar language.

Edited by DaleHohm

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

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