View Full Version : Simple little Typing Command
ffcfoo
02-11-2011, 02:05 AM
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.
TypeSend('blah'); works for me in Simba.
The only other typing function I know of is SendKeys()
ffcfoo
02-11-2011, 02:37 AM
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
02-11-2011, 02:40 AM
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
02-11-2011, 02:40 AM
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.
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
02-11-2011, 07:35 AM
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 :)
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.