keeper Posted October 29, 2013 Share Posted October 29, 2013 HiI've got a program, which show me dialog box with a message and OK button to close it. I have to click many times,if there are too many similar objects found. Do anyone know how to write script to click “OK” button until this dialog box not display on screen. Link to comment Share on other sites More sharing options...
Danyfirex Posted October 29, 2013 Share Posted October 29, 2013 I should be something like: while true If WinExists(thewindows) then WinActivate(thewindows) ControlClick("[CLASS:thewindows]", "", "booton id") endif wend saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
keeper Posted October 30, 2013 Author Share Posted October 30, 2013 I should be something like: while true If WinExists(thewindows) then WinActivate(thewindows) ControlClick("[CLASS:thewindows]", "", "booton id") endif wend saludos Thanks, I will try. Link to comment Share on other sites More sharing options...
keeper Posted October 30, 2013 Author Share Posted October 30, 2013 Is it possible to increase the speed to closing the dialog box or make it hidden from window ? Because I don't want user can see the closing dialog box process. Thanks again ! 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