Jump to content
Sign in to follow this  
elgaza

Waiting on a button to be enable

Recommended Posts

elgaza

Hi

Does any body know what is the command or which way to go about when I have a case like

A program installing its self and the "Finish" button is greyed out during installation, when done

it becomes Bolded and available.

the only thing is that the time to wait will varry from one installation to another depending on

the configuration so I cant give it a specific time to wait.

Any help would be much appreciated

Share this post


Link to post
Share on other sites
Siao

Do

Sleep(200)

Until ControlCommand("windowtitle", "windowtext", controlID, "IsEnabled", "")


"be smart, drink your wine"

Share this post


Link to post
Share on other sites
elgaza

Do

Sleep(200)

Until ControlCommand("windowtitle", "windowtext", controlID, "IsEnabled", "")

Thank you very much for a such a quick reply.

I will try it.

Thank you again.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×