Sign in to follow this  
Followers 0
jasny

_IeAction loadwait problem.

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



I fixed it.

used _IEAction($o_signin,"focus")

and ctrlsend...

Share this post


Link to post
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
Sign in to follow this  
Followers 0