SRL Archive - OSR Help

How do you code the bot to type instantly/fast?


ploxcake

2013-01-26 19:21:21

I know you can do TypeSend, but that's humanlike and takes time writing

Is it any command which can type instant or very fast?

Thanks in advance =3

NKN

2013-01-26 19:25:34

SendKeys('keys',10,10);
PressKey(VK_RETURN);

Chris!

2013-01-26 19:30:39

program typer;

{$I SRL/SRL.simba}

procedure TypeMyWords;
begin
SendKeys('wordshere', 5, 5);
PressKey(VK_Return);
end;

begin
SetupSRL;
repeat
TypeMyWords;
until(false);
end.

5, 5 = KeyWait, KeyModWait. Can be changed to any number, except 0.

ploxcake

2013-01-26 19:51:10

From: Chris!
program typer;

{$I SRL/SRL.simba}

procedure TypeMyWords;
begin
SendKeys('wordshere', 5, 5);
PressKey(VK_Return);
end;

begin
SetupSRL;
repeat
TypeMyWords;
until(false);
end.

5, 5 = KeyWait, KeyModWait. Can be changed to any number, except 0.


When I use this script it just continues to spam "enter" once its done?

I have the code 3 times in a row after each other, can that bug em up?

edit: tried with hold down and release commands, works perfect now

thank you both

Chris!

2013-01-26 19:52:02

Show me your entire script.

Justin

2013-01-26 19:52:50

Change
PressKey(VK_RETURN);

with

TypeByte(VK_ENTER);

See how that goes