Jump to content

$var= in pixelgetcolor variety of colors


socap
 Share

Recommended Posts

I want $var= in pixelgetcolor to be not exact color but variety around this shade of grey 0xD4D4D4 because my code is

Sleep(50)
MouseMove(71, 41, 0)
Do
    Sleep (20)
    $var = PixelGetColor( 71 , 41 )
Until $var = 0xD4D4D4
Sleep(50)

And that color doesn't appear but searched color is very like 0xD4D4D4. Help please.

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

I'm sure someone does.

I doubt there is much difference in performance.

But it is very trivial to test this kind of thing yourself, I cannot understand how you are still looking for an answer to this.

Look at timerinit and timerdiff, make a loop and test the performance in it.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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