so i made a code that should click on to pixel it finds but since the pixel is moving it miss clicks it.
how can i reduce the delay between geting pixel and clicking on it?
here is the part of the code: mouseclick on to pixel needs to be instant i have try-d mouseclick("",$boxpixel1[0], $boxpixel1[1],1,0) but still misses.
how can i reduce the delay between geting pixel and clicking on it?
here is the part of the code: mouseclick on to pixel needs to be instant i have try-d mouseclick("",$boxpixel1[0], $boxpixel1[1],1,0) but still misses.
Code:
$boxpixel1 = PixelSearch(0,0,1366,768, 0xFCFFCD)
If not @error Then
_MouseClickFast2($boxpixel1[0], $boxpixel1[1],$User32)
sleep(GUICtrlRead($timing2))
EndIf