Jump to content

StatusbarGetText


 Share

Recommended Posts

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

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

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...