Jump to content

Need help for _IEFrameGetCollection


pyzonet
 Share

Recommended Posts

what's wong with this?:

#include <IE.au3>
$oIE = _IECreate()
_IENavigate($oIE, "http://pyxonet.blogspot.com")

$oFrames = _IEFrameGetCollection ($oIE)
$iNumFrames = @extended
For $i = 0 to ($iNumFrames - 1)
    $oFrame = _IEFrameGetCollection ($oIE, $i)
    MsgBox(0, "Frame Info", _IEPropertyGet ($oFrame, "locationurl"))
Next
Link to comment
Share on other sites

You are missing a symptoms description.

What makes you think there is anything wrong with it? What happens when you run it?

:graduated:

Edit: You might add this line, just to make sure there ARE any frames on that page:

$oFrames = _IEFrameGetCollection ($oIE)
$iNumFrames = @extended
MsgBox(64, "Debug", "Frames count (@extended) = " & $iNumFrames)

:(

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...