Ilya
2012-04-29 14:20:24
Hello everyone, I'll get straight to the point.
I am trying to make the client hit spacebar and number keys with a small wait period in between.
Here is what I attemped, but it didn't work:
begin
SendKeys(' ', 100); <———————-space
Wait(331 + Random(237));
SendKeys('1', 100);
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys('4', 100);
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
end;
Suggestions/comments/advice?
I am trying to make the client hit spacebar and number keys with a small wait period in between.
Here is what I attemped, but it didn't work:
begin
SendKeys(' ', 100); <———————-space
Wait(331 + Random(237));
SendKeys('1', 100);
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys('4', 100);
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
SendKeys(' ', 100);<———————-space
Wait(331 + Random(237));
end;
Suggestions/comments/advice?