Jump to content

When is target window finished drawing?


 Share

Recommended Posts

Hi all,

Have a script that needs to wait for a program to finish drawing. The time does vary depending on the complexity of the drawing.

I would like to avoid a kludge like sleep(30000).

I tried picking up "Finished drawing" from the status bar using StausBarGetText() - but it's obviously a non-standard status bar.

Is there a "CPU not very busy" thing that I could check once per second perhaps?

Or is there a better way?

Thanks, Ross

Link to comment
Share on other sites

The work-around I found that works was to use PixelGetColor() at the screen location where "Drawing" changes to "Finished". Several pixels change to grey when the D changes to F.

I don't need a better method now.... but if there is one, feel free to say so!

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