Neelakshi Posted October 31, 2009 Share Posted October 31, 2009 Hi I am using FireFox 3.5 and executing my pop up script on it. Somehow the control click is not able to click on the OK button on the popup window which appears. I am able to detect and close the window although. Could anyone please help in here. Attached is the popup page and the auto it script. Thanks -- Neelakshi Link to comment Share on other sites More sharing options...
LOULOU Posted October 31, 2009 Share Posted October 31, 2009 Hi I am using FireFox 3.5 and executing my pop up script on it. Somehow the control click is not able to click on the OK button on the popup window which appears. I am able to detect and close the window although.Could anyone please help in here.Attached is the popup page and the auto it script.Thanks--NeelakshiCan you post your code please that we can test it ,Thanks Link to comment Share on other sites More sharing options...
Neelakshi Posted October 31, 2009 Author Share Posted October 31, 2009 Can you post your code please that we can test it , Thanks I am sorry i added that as an attachment i wonder why they were not there: HTMLPAGE: <html> <head> <title>My page</title> <script type="text/javascript"> function show_confirm() { var r=confirm("Press a button"); if (r==true) { } else { } } </script> </head> <body> <input type="button" onclick="show_confirm()" value="Show confirm box" /> </body> </html> AutoIT Code: $title="[REGEXPTITLE:" & $CmdLine[1] & "]" $timeout=$CmdLine[2] $buttontext=$CmdLine[3] $imagefile =$CmdLine[4] $prnt="prntscrn.exe " & $imagefile WinWait($title,"",$timeout) RunWait($prnt) ;WinClose($title) ControlClick($title,"",$buttontext) Thanks -- Pallavi. Link to comment Share on other sites More sharing options...
Bert Posted October 31, 2009 Share Posted October 31, 2009 Have you looked at FF.au3? That may do the trick for you. The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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