SRL Archive - OSR Help

how can i make it type something


lolhahauad

2011-12-12 16:57:09

what should i use to make it type some letters or numbers?

Home

2011-12-12 17:00:11

TypeSend('I Am A Letter, And I Am A Number 1')
Sendkeys('I Am A Letter, And I Am A Number 1')


Your should check out Simba / SRL functions out.


~Home :)

lolhahauad

2011-12-12 17:17:15

what's difference between those 2?

z92

2011-12-21 18:29:05

You can also use this - it has the added bonus of easily toggling "enter" on and off. (Simply change 'true' into false)

TypeSendEx(Text, True);

TypeSend is included in SRL. SendKeys seems to be buildt into Scar/Simba itself (I may be mistaken). I dont know if they are different; I could not find the code for SendKeys.

{*******************************************************************************
procedure TypeSend(Text: string);
By: N1ke!
Description: Sends human like text.
*******************************************************************************}
procedure TypeSend(Text: string);
begin
TypeSendEx(Text, True);
end;

As you see, TypeSend basically calls TypeSendEx without the option of toggling "enter" on and off. :)