alw98
2012-06-15 16:35:26
okay heres my code:
program silkstealer;
const
COLOR= 5180779;
var
x, y, w, h: integer;
begin
GetClientDimensions(w,h);
while(findcolor(x, y, COLOR, 0, 0, w-1, h-1))do
MoveMouse(x, y,);
ClickMouse(x, y, 1)
end. but for some reason when ever it moves the cursor to the color, it doesn't click it. then if I manually click the mouse and the object diasapears, it clicks and finishes. What do I have to do to make it to where once it finds the color it clicks it, and then repeats.