jasny Posted November 30, 2007 Share Posted November 30, 2007 (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 November 30, 2007 by jasny Link to comment Share on other sites More sharing options...
jasny Posted November 30, 2007 Author Share Posted November 30, 2007 I fixed it. used _IEAction($o_signin,"focus") and ctrlsend... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now