SRL Archive - OSR Help

Need help with my first script: auto-login


goodhomeboy

2008-07-05 13:00:05

Well heres the problem i can get it to type my username in but it will not type in the password and i looked at tutorials on this and still no luck

Procedure TypeInUserandPass;
Begin
TypeSend('Type UsernameHere'); // type user in here
wait(1000+Random(200));
TypeSend('Type password here'); // type pass in here
end;

any help would be appreciated.

Metagen

2008-07-05 13:06:47

Should work.


program whatever;

{.include srl/srl.scar}

Procedure TypeInUserandPass;
Begin
TypeSend('asdf'); // type user in here
wait(1000+Random(200));
TypeSend('asdf'); // type pass in here
end;

begin
setupsrl;
typeinuserandpass
end.

Works perfectly for me

goodhomeboy

2008-07-05 13:15:17

Still doesnt work

spoonbeater

2008-07-05 17:30:06

You need to activate the username and password textboxes, then type the appropriate string. you could use a mouse move or to go from username textbox and activate the password textbox you could send a tab key.

Neehosoft

2010-05-09 17:25:29

From: Metagen
Should work.


program whatever;

{.include srl/srl.scar}

Procedure TypeInUserandPass;
Begin
TypeSend('asdf'); // type user in here
wait(1000+Random(200));
TypeSend('asdf'); // type pass in here
end;

begin
setupsrl;
typeinuserandpass;
end.

Works perfectly for me


One of the reasons is he forgot to add a ";" to the end of it.
Did it for you

JPHamlett

2010-05-09 17:29:37

whyh not just use loginplayer look at a tut for declareplayers

Sir R. M8gic1an

2010-05-09 17:34:36

2008 people :p

~RM