• Log in or sign up for an account here: https://www.sythe.org/login

Help with "sendkeys"

codey

Forum Addict
Joined
Feb 16, 2007
Sythe Gold
0
Messages
433
Location
Murrlind
this is my script-
Code:
program New;
begin
SendKeys('TEXT');
Wait(1000);
SendKeys(chr(13));
end.


It doesnt type anything in my rs screen. if i try to run it, say with scar on, it will type "text" in my scar script. how do i make it type in runescape?
 
Use TypeSend instead, less detectable and wil click enter once it has written the text.

EDIT: Specify the RS window as the client and add ActivateClient before TypeSend.

Code:
program Writer;

const
  Text = 'Blabla.'; // your text
begin
ActivateClient
TypeSend(Text);
end.
 
Frt, if you do that he'll get an unknown identifier ;).

Code:
program Writer;
{.include srl/srl.scar}

const
  Text = 'Blabla.'; // your text

begin
  SetupSRL;
  ActivateClient
  TypeSend(Text);
end.

~Sandstorm
 
Runescape Gamblingrunescape gambling
Back
Top