keeper Posted October 29, 2013 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.
Danyfirex Posted October 29, 2013 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
keeper Posted October 30, 2013 Author 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.
keeper Posted October 30, 2013 Author 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 !
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