epkid08
09-16-2007, 09:24 PM
How would I use srl to press down space, wait for three seconds, press down shift, wait for two seconds, and repeat?
I tried using this...
begin
repeat
KeyDown(GetKeyCode('space'));
Sleep(400);
KeyUp(GetKeyCode('space'));
KeyDown(GetKeyCode('shift'));
Sleep(300);
KeyUp(GetKeyCode('shift'));
until(False);
end.
But there's an error...
Help please?
I tried using this...
begin
repeat
KeyDown(GetKeyCode('space'));
Sleep(400);
KeyUp(GetKeyCode('space'));
KeyDown(GetKeyCode('shift'));
Sleep(300);
KeyUp(GetKeyCode('shift'));
until(False);
end.
But there's an error...
Help please?