raedts Posted January 6, 2006 Share Posted January 6, 2006 I am writing a script to automate Easycleaner. Now i am stuck because easycleaner doesn't show when it's ready. It only Say's a little line in the statusbar: "Ready: found 56 invalid registry keys" I tried StatusbarGetText but i have to give the rule what the statusbar should say but it is random (Every computer will have a other amount of invalid keys). Is there a way to search in the statusbar for only 1 word? (Only ready) Please let me know. Btw. srry if my english is bad. Link to comment Share on other sites More sharing options...
BigDod Posted January 6, 2006 Share Posted January 6, 2006 I am writing a script to automate Easycleaner.Now i am stuck because easycleaner doesn't show when it's ready.It only Say's a little line in the statusbar: "Ready: found 56 invalid registry keys"I tried StatusbarGetText but i have to give the rule what the statusbar should say but it is random (Every computer will have a other amount of invalid keys).Is there a way to search in the statusbar for only 1 word? (Only ready)Please let me know.Btw. srry if my english is bad.Look at WinTitleMatchMode in the help file it may help with your problem. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
raedts Posted January 6, 2006 Author Share Posted January 6, 2006 Uhh right. WinTitleMatchMode Could you explane this function? Link to comment Share on other sites More sharing options...
seandisanti Posted January 6, 2006 Share Posted January 6, 2006 (edited) Uhh right. WinTitleMatchMode Could you explane this function?actually i believe that BigD misinterpretted, and was thinking that you were having issues identifying the window. all you need to do is: While Not StringInstr($st,"Ready") $st = StatusBarGetText("Your Window Title Here","");if the status bar is segmented, you'll have to add 3rd parameter Sleep(100) WEnd ***edit*** oops, code error, fixed it. Edited January 6, 2006 by cameronsdad Link to comment Share on other sites More sharing options...
raedts Posted January 7, 2006 Author Share Posted January 7, 2006 your option doensn't seem to work..... Could you look at the program plz? http://personal.inet.fi/business/toniarts/ecleane.htm Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 7, 2006 Moderators Share Posted January 7, 2006 http://www.XPCleanMenu.HostRocket.com/Made with AutoIt, might be a nice alternative for you... Val spent some time on this one. 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