SCAR Code:program sdown;
procedure sdown;
begin
KeyDown(83);
wait(2000);
KeyUp(83);
end;
begin
repeat sdown;
until(false)
end.
Does anyone know how to make it hold S down?
SCAR Code:program sdown;
procedure sdown;
begin
KeyDown(83);
wait(2000);
KeyUp(83);
end;
begin
repeat sdown;
until(false)
end.
Does anyone know how to make it hold S down?
Check out this page for a list of keycodes. To hold down s, you could do:
SCAR Code:KeyDown(83);
Wait(500);
KeyUp(83);
:-)
I thought that's what I did. It doesn't hold it down though.
It holds it down for me just fine (though it only types it in once in the target window). Make sure that you have targeted the correct window using the crosshairs button in SCAR.
:-)
It works for me just fine..try doublechecking the rest of the script, maybe something else is keep it from holding it down.
There are currently 1 users browsing this thread. (0 members and 1 guests)