Sign in to follow this  
Followers 0
Clipper34

Options

3 posts in this topic

#1 ·  Posted (edited)

Hey guys, again(Sorry if i'm getting annoying) but i got another question... Here in the code below

$pixel = PixelGetColor("536, 425)
$pixelsearch = PixelSearch(0, 536, 425, 0, 0x6A623B)
$start = 1
While $start > 0
    Sleep(3000)
    If WinGetTitle("[ACTIVE]") Then
        MouseClick("left", 536, 425, 1, 3)
        Sleep(100000)
        MouseClick("left", 229, 486, 1, 3)
    EndIf
WEnd
If $pixelsearch = PixelSearch(0, 536, 425, 0, 0x6A623B)
    MsgBox(0, "Pixel", "The Pixels are", $pixelsearch)
EndIf
how would you make where you can drag the cursor over that pixel/color and it will only click that selected color and will sleep for maybe a minute any suggestions? thanks all.

Edited by Clipper34

Share this post


Link to post
Share on other sites



If $pixelsearch = PixelSearch(0, 536, 425, 0, 0x6A623B)

MsgBox(0, "Pixel", "The Pixels are", $pixelsearch)

MouseClick("left", $pixelsearch[0], $pixelsearch[1])

EndIf

Share this post


Link to post
Share on other sites

Thanks John, appreciate the help

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