PerryRaptor Posted February 22, 2007 Share Posted February 22, 2007 I'm looking for ideas... I need to run a loop while an application is not busy, so I need to test for the not busy status. I am thinking of using ControlCommand() to see if a control is grayed-out or possibly ControlGetText() to see if certain text exists. This loop will be embedded in a function so the test will occur in the main loop of the script. I'll use an IF...Then in the main loop to call the function. So if you got ideas using other than ControlCommand() or ControlGetText() I'd like to review them. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 22, 2007 Moderators Share Posted February 22, 2007 I'm looking for ideas...I need to run a loop while an application is not busy, so I need to test for the not busy status. I am thinking of using ControlCommand() to see if a control is grayed-out or possibly ControlGetText() to see if certain text exists.This loop will be embedded in a function so the test will occur in the main loop of the script. I'll use an IF...Then in the main loop to call the function.So if you got ideas using other than ControlCommand() or ControlGetText() I'd like to review them.I use those methods if the apps have windows, that just seems most logical to me checking for specific conditions with things like "IsVisible"/"IsEnabled", I suppose you could monitor the apps CPU consumption, but I don't think that would reliable at all really. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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