SRL Archive - Help

Simple little Typing Command


ffcfoo

2011-02-10 21:05:37

Well I haven't been on Villavu in a long time and I see that some things have changed. I am trying to write a basic click and talk script from the coding I barely know anymore. So Typesend doesn't work know more does it? Doesn't work with the new simba so could someone tell me what other command I can use to make this script type things.

Ogre

2011-02-10 21:31:44

TypeSend('blah'); works for me in Simba.

The only other typing function I know of is SendKeys()

ffcfoo

2011-02-10 21:37:57

From: Ogre
TypeSend('blah'); works for me in Simba.

The only other typing function I know of is SendKeys()


Uhm.

Unknown identifier 'TypeSend' at line 7

program click;

procedure Click;
begin
wait(5000)
ClickMouse(520, 271, 1);
TypeSend('blah');
end;

begin
Click;
end.

TomTuff

2011-02-10 21:40:07

From: ffcfoo
Uhm.

Unknown identifier 'TypeSend' at line 7

program click;

procedure Click;
begin
wait(5000)
ClickMouse(520, 271, 1);
TypeSend('blah');
end;

begin
Click;
end.



program Click;
{$i SRL\SRL.scar}

procedure ClickIt;
begin
Wait(5000);
Mouse(520, 271, 0, 0, True);
TypeSend('blah');
end;

begin
Click;
end.

ffcfoo

2011-02-10 21:40:54

From: TomTuff

program Click;
{$i SRL\SRL.scar}

procedure ClickIt;
begin
Wait(5000);
Mouse(520, 271, 0, 0, True);
TypeSend('blah');
end;

begin
Click;
end.


Ahh thanks. Forgot Typesend was a SRL procedure.

Ogre

2011-02-10 21:41:27

View -> Extensions, enable srl.sex and others if you like, and let them update.

program click;
{$I SRL\SRL.scar}

procedure Click;
begin
wait(5000)
Mouse(520, 271, 0, 0, 1);
TypeSend('blah');
end;

begin
Click;
end.

Don't use ClickMouse(), iirc it's very detectable.

E: Ninja'd :<

ffcfoo

2011-02-11 02:35:32

From: Ogre
View -> Extensions, enable srl.sex and others if you like, and let them update.

program click;
{$I SRL\SRL.scar}

procedure Click;
begin
wait(5000)
Mouse(520, 271, 0, 0, 1);
TypeSend('blah');
end;

begin
Click;
end.

Don't use ClickMouse(), iirc it's very detectable.

E: Ninja'd :<


I am not using this for Runescape :)

RISK

2011-02-11 11:09:42

SRL can be used for things other than RuneScape, of course. "TypeSend('Text');" types and then hits the enter key to send the text. But if you would still prefer to stay away from SRL for your purposes, you can use "SendKeys('Text' + Chr(13));" That should work properly.

What it does is type the text in the commas and then it will get to the "Chr(13)" part which basically means it hits the enter key on the keyboard to send the text. You can optionally remove this if you do not want to actually send the text. It is completely up to you. If you would prefer to only type the text, you can use this: "SendKeys('Text');".

E: I misunderstood the last post, my bad. But my post still has some use.