Sign in to follow this  
Followers 0
Disciples

I guess I didn't figure it out :{

4 posts in this topic

#1 ·  Posted (edited)

$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

Share this post


Link to post
Share on other sites



$coord = PixelSearch(319, 303, 920, 509, 0x191552)
If Not @error Then
    MouseClick("Main", $coord[0], $coord[1])
Else
    Exit
EndIf

this'll click where the color's found at, exit if it's not


RAWR! I'm hungry :( Feed the panda squirrle

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

$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]

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