Jump to content

I guess I didn't figure it out :{


Recommended Posts

$coord = PixelSearch( 319,303,920,509, 0x191552 )
If Not @error Then

Ok, now I want it, if that is found, I want it to click on that color

But idk how to make it so it clicks on a color

And if It doesn't find it, I want it to just exit

Any help would be greatly appreciated

Edited by Disciples
Link to comment
Share on other sites

$coord = PixelSearch(319, 303, 920, 509, 0x191552)  
If Not @error Then
    MouseClick("left", $coord[0], $coord[1],1 ,10)
    MsgBox(0,"","Found color here: "&$coord[0]&","&$coord[1])
Else
    MsgBox(0,"","There is no such color")
    Exit 
EndIf

try this

Edited by Belfigor

[size="1"]My bear is so cute asleep in the closet, not even drinking vodka. My nuclear bomb name is Natasha.[/size]

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