Accidental Hyper-V Administrator
asked on
AutoIT - How to wait on a button color change
Good morning everyone,
AutoIT newb here.
I am using AutoIT V3.
I am testing an application via an AutoIT script.
What I am doing:
I navigate to a location and left click on a button.
At that point, the button turn from green to grey.
I wait "sleep (20000)" for 20 seconds.
Then I continue with my script.
What I want to do:
Instead of waiting for 20 seconds, I want the Auto IT script to do nothing, until the button turns green again.
Atwhich point, I want the script to continue on its merry way.
I can’t for the life of me,figure out how to "do" such a thing.
Any help would be greatly appreciated.
Thanks in advance.
Ray in Wisconsin
AutoIT newb here.
I am using AutoIT V3.
I am testing an application via an AutoIT script.
What I am doing:
I navigate to a location and left click on a button.
At that point, the button turn from green to grey.
I wait "sleep (20000)" for 20 seconds.
Then I continue with my script.
What I want to do:
Instead of waiting for 20 seconds, I want the Auto IT script to do nothing, until the button turns green again.
Atwhich point, I want the script to continue on its merry way.
I can’t for the life of me,figure out how to "do" such a thing.
Any help would be greatly appreciated.
Thanks in advance.
Ray in Wisconsin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
After the Wend you'd continue with your code.
ASKER
Perfect.
You’re the greatest !
Ray in Wisconsin
You’re the greatest !
Ray in Wisconsin