SRL Archive - OSR Help

How do i send a string to smart client ?


tom99

2011-01-08 14:03:36

Hello, i was wondering how i could send a string to smartclient.

Is it enough to just start it and do sendkeys(string) ? i tryed that but nothing happened. however it reacted to keydown but that was it. I am using the latest srl, please tell me what to do. (Noob question i know XD)

Wanted

2011-01-08 14:07:14

Enable SMART, TypeSend?

Frement

2011-01-08 14:07:48

TypeSend should type the string.

tom99

2011-01-08 14:10:40

i did that but it dont type anything.

Wanted

2011-01-08 14:12:47

You to have SMART enabled, where it is blocking clicks from your mouse and keyboard normally and only allows input from the script.

tom99

2011-01-08 14:31:54

I had it enabled but i figured my form dont save any data, i tought varname.Text did hold the data of user input ? here is my loginform witch obviously dont work :(

So frustrating this is the code of the form:

Edit1.Text := brukernavn;
Edit2.Text := passord;
Form1.ModalResult:= mrOk;

and i type in username and pass, but it wont store it, it just get a space char idk why =S.