steenpat Posted June 14, 2005 Share Posted June 14, 2005 Hi. I'm having trouble with detecting when a certain graphic is changing. For instance if a red bar is increasing or decreasing or flashing a different color. I thought I could do this using PixelCheckSum() but I am not getting good results. What I wanted to do was print a msgbox saying "this graphic is changing" while the graphic changes. And when the graphic is stationary say "this graphic is not changing." Can anyone give me an example of how they would do this? Link to comment Share on other sites More sharing options...
hankjrfan Posted June 14, 2005 Share Posted June 14, 2005 Hi. I'm having trouble with detecting when a certain graphic is changing. For instance if a red bar is increasing or decreasing or flashing a different color. I thought I could do this using PixelCheckSum() but I am not getting good results. What I wanted to do was print a msgbox saying "this graphic is changing" while the graphic changes. And when the graphic is stationary say "this graphic is not changing." Can anyone give me an example of how they would do this?<{POST_SNAPBACK}>Why not this?$checksum = PixelChecksum(0,0, 50,50) If $checksum <> PixelChecksum(0,0, 50, 50) Then MsgBox(0, "Checksum", "The Graphic has changed") Else MsgBox(0, "Checksum", "The Graphic has not changed") EndIfYou could probably also use PixelGetColor. 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