I'm writing a simple script to search for a color, click it, and wait a fixed amount of time. This seemed very simple, but it has proven the exact opposite! Occasionally my target is quite small, and ClickMouse seems to occasionally click up to 20 pixels away from my target colored pixel. What can I do to fix this and make the click a little more consistent?
Color = 3160642; // color you wish to click
VKeyDown(39); // Holds the "W"-key.
Wait(700); // Teh wait...
VKeyUp(39); // Releases the "W"-key.
Var X,Y,W,H: Integer;
If FindColor(X,Y,Color,0,0,500,340) then
Repeat // Repeats for ever.. or until program is stopped.
Thanks in advance, I hope people still use this service.