
Originally Posted by
ggzz
Simba Code:
If IsKeyDown(08) then
writeln('you pressed backspace')
else
if IsFKeyDown(124) then
writeln('You pressed F12?');
//http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html#keyboard-virtual-keys
Thanks for the reply. I've got this script at the moment. I am completely stumped:
Simba Code:
program AutoTpyer;
procedure Typing;
begin
SendKeys('Your Text Here', 1);
KeyDown(13);
KeyUp(13);
Wait(2500);
end;
begin
repeat
Typing;
for i:= 0 to 19 do
begin
Wait(100);
if IsKeyDown(F1KeyCode) then terminateScript;
end;
until(false);
I get this error:
Code:
[Error] (16:7): Unknown identifier 'i' at line 15
Compiling failed.