Jump to content

Is there something like _IELoadWait that works with frames?


sirkerry
 Share

Recommended Posts

Is there something like _IELoadWait that works for pages with frames that contain javascript?

I've tried the frames_IELoadWait function from the AutoIt snippets database and it doesn't work for me.

I've also tried the following code:

$i = 0
    While $i = 0
        Sleep(1000)
        $i = _IEFrameGetObjByName ($oIE, "tree")
        If Not @error Then
            $i = 1
        Else
            $i = 0
        EndIf
        ;MsgBox(0, "Value of $i is:", $i)
    WEnd

but it doesn't work either.

Anyone got any ideas regarding this?

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