stiv Posted August 9, 2022 Share Posted August 9, 2022 Hello, "I found this, but I am not sure how to carry out the process" I have a setup-programm, where the window appear but the next-button isn't active. After a few seconds the next-button is automatically active. I want the continue function to load as soon as the button is loaded, but I haven't been able to do it, I don't want to put a time, because it changes. title: "Formulario wae" data WinWait("[Class:Window.8.app.0.59ef_r6_ad1]") instance = 2 Thanks for your attention Link to comment Share on other sites More sharing options...
bdr529 Posted August 10, 2022 Share Posted August 10, 2022 while ControlCommand("Formulario wae","","[INSTANCE:2]","IsEnabled")=0 wend To community goes all my regards and thanks Link to comment Share on other sites More sharing options...
Zedna Posted August 10, 2022 Share Posted August 10, 2022 While ControlCommand("Title","","Button1","IsEnabled","") = 0 Sleep(250) Wend bdr529 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
stiv Posted August 11, 2022 Author Share Posted August 11, 2022 sorri, It didn't work that way for me the code enters that conditional, but doesn't wait for the button to fire. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 12, 2022 Developers Share Posted August 12, 2022 16 hours ago, stiv said: but doesn't wait for the button to fire. It wait for the button to become active.... to fire a button is an action to me, so what exactly is not working? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
stiv Posted August 12, 2022 Author Share Posted August 12, 2022 yes, the button doesn't wait for to fire 😶 Link to comment Share on other sites More sharing options...
Zedna Posted August 12, 2022 Share Posted August 12, 2022 While ControlCommand("Title","","Button1","IsEnabled","") = 0 Sleep(250) Wend ControlClick("Title","","Button1") Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Developers Jos Posted August 12, 2022 Developers Share Posted August 12, 2022 (edited) 1 hour ago, stiv said: yes, the button doesn't wait for to fire 😶 Then i still do not onderstand. .... So what about you post what you have at the moment so we can see? Edited August 12, 2022 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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