Sign in to follow this  
Followers 0
Rahab

Sending a Click

5 posts in this topic

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

Share this post


Link to post
Share on other sites



I see but is there a sample code as to which I could follow? One which would actually execute the click.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

_____________________________________________________________________________

Share this post


Link to post
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.

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  
Followers 0