Sign in to follow this  
Followers 0
autoitquestion

Sleep until program is loaded

7 posts in this topic

Hi,

I have external program that need to be loaded and it takes different time from one user input to another

How can I tell this application to sleep till data is loaded?

Thanks for your help!

Noa

Share this post


Link to post
Share on other sites



Well it depends on what condition(s) are met when the data is loaded. One way would be like this, a simple Do..Until loop

Do
 Sleep(100)
Until ;whatever this condition is, is met

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Hi,

thanks for your reply.

When program is loaded I have more visible test in window info tool

Can it used as condition? if yes-how pls?

Thanks for your help!!

Noa

Share this post


Link to post
Share on other sites

Yes. How? I have no idea what these conditions are. Post some before and after info tool screenshots, I can probably figure it out.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

After program is loaded there is link label which become active and before it disabled

Can it help me?

How can I check if it disabled\enabled?

By the way, I wish to click on this link label after program will be loaded.

And for now, I click on this button not by using ControlClick but with Send TAB and ENTER keys

Thanks for your help!

Noa

Edited by autoitquestion

Share this post


Link to post
Share on other sites

How can I check if it disabled\enabled?

See what the AutoIt Window Info Tool (AU3Info) has to say about this control before and after the program is 'ready to go'.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

yes, it is okay now

Thanks :-)

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