Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Getting info on nested frames and framesets?

$
0
0

Does anyone know how to get this code to get info on nested iframes? Basically iFrames within iFrames and framesets?

Func _TestForFrames()     _DebugSetup("Frames Check")     Local $URL = $MainURL     Local $oIE = _IECreate($URL, 1, 1, 1, 1)     Local $oFrames = _IEFrameGetCollection($oIE)     Local $iNumFrames = @extended     For $i = 0 To ($iNumFrames - 1)         Local $oFrame = _IEFrameGetCollection($oIE, $i)         MsgBox(0, "Frame Info", _IEPropertyGet($oFrame, "locationurl"))         _DebugOut(_IEPropertyGet($oFrame, "locationurl"))     Next EndFunc   ;==>_TestForFrames

Also - can the _IEPropertyGet return the frame name instead of the locationurl? I looked but did not see that option in ie.au3.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>