Clipper34 Posted May 8, 2008 Posted May 8, 2008 (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 May 8, 2008 by Clipper34
John Posted May 8, 2008 Posted May 8, 2008 If $pixelsearch = PixelSearch(0, 536, 425, 0, 0x6A623B) MsgBox(0, "Pixel", "The Pixels are", $pixelsearch) MouseClick("left", $pixelsearch[0], $pixelsearch[1])EndIf
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now