Sign in to follow this  
Followers 0
iamrock

Wait for button to activate?

3 posts in this topic

This must be a stupid newbie question, but I scoured the help file with no success. Is there a way to click a button once it becomes active? Sort of like a WinWaitActive but for buttons.

Basically, my script launches a program and downloads any updates. After the downloads finish, the "Next" button becomes active. But not knowing how long it will take to download all of the updates, I don't want to just use an excessive sleep command.

Any suggestions?

Share this post


Link to post
Share on other sites



Maybe it's possible to move the mouse to the location of the next button and have it click it when the pixel color changes?

Not sure if this is possible, just kinda throwing it out there.

Share this post


Link to post
Share on other sites

You may mean "enabled" rather than "active". There is a ControlCommand() called IsEnabled. Put a while loop around it.

Lar.

<{POST_SNAPBACK}>

Thanks, I'll give that a try!

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  
Followers 0