Jump to content
Sign in to follow this  
bf2forlife

This is about color...

Recommended Posts

So i want this script to search for a color, then click it, and when the color dissapiers under ur mouse, then search for diffrent color.

Share this post


Link to post
Share on other sites

this?

$Cpos = PixelSearch($left, $top, $right, $bottom, $data[$t], $Vary, $Skip)
         Until Not @error
         If $t > 10 Then ContinueLoop
         MouseClick("left", $Cpos[0], $Cpos[1], 1, 0)
         Sleep(1000)

But how i can set it search for diffrent color than the first 1, after the first color is found? And not like rapidly pressing around the color, just keep it still on that place where it clicked on first?

Share this post


Link to post
Share on other sites

But what about this. When there is brown in certain color in the screen, then mousemove somewhere? Like could u run that PixelSearch() MouseMove() script then when there is brown in that certain place the script stops and moves mouse to somewhere?

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...