Jump to content

Click The Color


Recommended Posts

would this work

WinSetState("MyProgram", "", @SW_MAXIMIZE)
WinWaitActive("MyProgram")
While 1
$coord = PixelSearch( 0, 0, 20, 300, 0x0021A5 ); note that 0,0,20,300 is the search area you have setup.. and it is a narrow strip
If IsArray($coord) = 1 Then
MouseClick('left',$coord[0], $coord[1],1,0)
EndIf
WEnd

and if it can how I dont' get this (; note that 0,0,20,300 is the search area you have setup.. and it is a narrow strip) and even it can work could I make it search for more then one pixel

Thanks in advance
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...