[SCAR]program New;
var
x,y,x1,y1: Integer;
const
logcolor = 1853263;
procedure findlog;
begin
x:= 708;
y:= 446;
x1:=666
y1:=54
MoveMouse(x,y);
wait(1000)
if FindColor(x,y,logcolor,683,433,728,459):True; then
MoveMouse(x1,y1);
ClickMouse(x1,y1,true);
end;
begin
findlog;
end.SCAR]
and i got:
can any1 explain?Line 17: [Error] (17:43): 'THEN' expected in script


Reply With Quote







