#include <IE.au3>
$oIE = _IE_ExampleIframe()
$oFrames = _IETagNameGetCollection($oIE, 'iframe')
For $oFrame In $oFrames
ConsoleWrite($oFrame.id & @TAB & $oFrame.src & @TAB & $oFrame.title & @LF)
Next
Func _IE_ExampleIframe()
Local $s_html, $o_object
$s_html &= '<HTML>' & @CR
$s_html &= '<HEAD>' & @CR
$s_html &= '<TITLE>iframe</TITLE>' & @CR
$s_html &= '</HEAD>' & @CR
$s_html &= '<BODY>' & @CR
$s_html &= '<table cellspacing=6 cellpadding=6 border=1>' & @CR
$s_html &= '<tr>' & @CR
$s_html &= '<td><iframe id="iFrameOne" src="about:blank" title="iFrame One"></iframe></td>' & @CR
$s_html &= '</tr>' & @CR
$s_html &= '<tr>' & @CR
$s_html &= '<td><iframe id="iFrameTwo" src="about:blank" title="iFrame Two"></iframe></td>' & @CR
$s_html &= '</tr>' & @CR
$s_html &= '</table>' & @CR
$s_html &= '</BODY>' & @CR
$s_html &= '</HTML>'
$o_object = _IECreate()
_IEDocWriteHTML($o_object, $s_html)
_IEAction($o_object, 'refresh')
Return SetError($_IEStatus_Success, 0, $o_object)
EndFunc ;==>_IE_ExampleIframe