Log in

View Full Version : Coding Question



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?

mat_de_b
09-16-2007, 09:37 PM
You already posted this and i replied...