Sign in to follow this  
Followers 0
raedts

StatusbarGetText

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

Uhh right. WinTitleMatchMode

Could you explane this function?

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by cameronsdad

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

http://www.XPCleanMenu.HostRocket.com/

Made with AutoIt, might be a nice alternative for you... Val spent some time on this one.


[center]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.[/center]

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