Jump to content

_IeAction loadwait problem.


jasny
 Share

Recommended Posts

Hello brothers and sisters.

I have to submit a little form by _IEAction on the website. After doing the _IEAction click, my script hangs up because of java script window, which is asking me if I'm sure to do this submit.

The thing what I found is that script hangs up, waiting for finish the _IEAction funcion, so I can not Send() any message to this this window. Anyone has any ideas how to fix it ?

;cut
        $o_signin=_IEGetObjByName($oIE,"deletebookmarks")
        _IEAction($o_signin,"click")

             ;here hangs up, because of popup js msg window

        $hWin = WinGetHandle("Microsoft Internet Explorer")
        If Not @error Then
            TrayTip("zxwqwe: asd.", "asdasdzxczxcasedrq..", 5, 2)
            ControlSend($hWin, "", "", "{ENTER}")
        EndIf
;cut
Edited by jasny
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...