I have installed Java 8 but I'm not sure that Java creates a problem in my code.
Here is a piece of code that I think that creates a problem.
Simba Code:
program new;
var
i,s : integer;
b,t : string;
begin
i := 1;
WHILE i <=19999 DO
begin
ClickMouse ( 390, 329, mouse_left ); //
ClickMouse ( 390, 329, mouse_left ); // This code taken string
ClickMouse ( 390, 329, mouse_left ); // in CHAT on Firefox.
ClickMouse ( 390, 329, mouse_right ); // Sets the ClipBoard
wait (391); // with the option Copy
MoveMouse ( 458, 344); // (right_click,
ClickMouse ( 458,344, mouse_left ); // then left_click Copy)
s := Length(getClipBoard());
b := getClipBoard();
if s <= 3 then s := 4;
t := b[s-2];
i := i + 1;
end;
end.
loop works well (10 min - 1 hour) and then report error
Error: Access violation at line
Most common ERROR is displayed when the s = 0.
That's why I put a line:
but error(Access violation) is still sometimes displayed.