Jump to content

Sending a Click


Recommended Posts

Good Day,

Well I was wondering if it was possible to send a click when a certain or very similar color was in 3 spots at once. I already know that it is possible when the color is in one spot but wasn't sure of 3 at the same time. So if anyone could verify that it is possible and provide some information on how it would be done I would be extremely thankful.

-Rahab

Link to comment
Share on other sites

if PixelGetColor($x, $y) =  PixelGetColor($x1, $y1)  And PixelGetColor($x, $y) =  PixelGetColor($x2, $y2) Then
    MouseClick("Left", $xpos, $ypos)
    ;ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] )
EndIf

- You need to specify coordinations only.

Edited by GodlessSinner

_____________________________________________________________________________

Link to comment
Share on other sites

Ok, so far it works somewhat but not in the way I need it to work. What I want to be able to do is this, I want to be able to set the color that when seen I want it to click. Does anyone know the code that would accomplish this once again any help would be greatly appreciated.

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