Results 1 to 6 of 6

Thread: How do i send a string to smart client ?

  1. #1
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default How do i send a string to smart client ?

    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)

  2. #2
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Enable SMART, TypeSend?

  3. #3
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    TypeSend should type the string.
    There used to be something meaningful here.

  4. #4
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    i did that but it dont type anything.

  5. #5
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  6. #6
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    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.
    Last edited by tom99; 01-08-2011 at 10:23 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •