autoitquestion Posted April 10, 2011 Share Posted April 10, 2011 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 Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 10, 2011 Share Posted April 10, 2011 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. Link to comment Share on other sites More sharing options...
autoitquestion Posted April 10, 2011 Author Share Posted April 10, 2011 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 Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 10, 2011 Share Posted April 10, 2011 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. Link to comment Share on other sites More sharing options...
autoitquestion Posted April 11, 2011 Author Share Posted April 11, 2011 (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 April 11, 2011 by autoitquestion Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 11, 2011 Share Posted April 11, 2011 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. Link to comment Share on other sites More sharing options...
autoitquestion Posted April 11, 2011 Author Share Posted April 11, 2011 yes, it is okay now Thanks :-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now