nero_dante
2015-03-08 11:36:45
My 'if else' is not working on my script for some reaosn. Not sure why. If I take it out the script works fine.
procedure WalkLogBeam();
var
logBeam: Tbox;
begin
LogBeam := intTobox(286, 50, 293, 180);
mouseBox(LogBeam, MOUSE_MOVE);
if isMouseOverText('alk Log Bea') then
fastClick(MOUSE_LEFT);
else begin
wait(500);
writeLn('Can not find Looking again');
terminateScript();
end;
WriteLn('Walking over LogBeam');
wait(gaussRangeInt(5600,5800));