Jump to content
Sign in to follow this  
Björn_2

Wait until button is active

Recommended Posts

Björn_2

Hello,

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 don't want to wait (for example 5 secs) because the time can change on every pc.

Is it possible to ask the window if the button is active?

Thx

Björn

Share this post


Link to post
Share on other sites
herewasplato

Try this:

Do
    Sleep(100)
Until ControlCommand ( "title", "text", controlID, "IsEnabled", "")


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
Björn_2

Thank you very much. It works fine.

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  

×