Jump to content

Watching / reacting to changes of parts of other windows...


Recommended Posts

Lets say i want to make autoit install somthing. Or another automated task. Now lets say that task had a progress bar. Is there a way to make autoit "see" that progress bar, not as we see it, but the actual value of the bar, and react accordingly? like if at 80% i want to make the computer play a sound so that the person knows that they need to start paying attention, or make autoit do somthing, how do i do that?

I can use the tool that came with autoit to see what the progress bar's name is, but how do i get a value from that name? basically thats what im wondering.

Link to comment
Share on other sites

I don't know if you can get the value of a progress bar. You might be able to find the coordinates of a progress bar with ControlGetPos, and then use PixelSearch to find out when that progress bar changes color at the 80% mark.

[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

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...