well i just started having a go with this today..
when i compile it, it says variable expected at line 12Code:program DTClicker; var c,x,y: Integer; begin c:= 0; x:=640; y:=470; repeat if(FindColor(580,460,144164,0,0,100,18)) then Begin MoveMouseSmooth(x+random(10),y +random(6)); Wait(50+random(50)); ClickMouse(x,y,true); c:=c+1; Wait(50); SendKeys('2'); end else Begin Writeln('did not find the button.'); end; until (c >=350); end.
its meant to click in a set area and then press 2


Reply With Quote






