Help with "sendkeys"

Discussion in 'Scar/Simba Help' started by codey, Mar 8, 2009.

Help with "sendkeys"
  1. Unread #1 - Mar 8, 2009 at 7:49 PM
  2. codey
    Joined:
    Feb 16, 2007
    Posts:
    433
    Referrals:
    0
    Sythe Gold:
    0

    codey Forum Addict

    Help with "sendkeys"

    this is my script-
    Code:
    program New;
    begin
    SendKeys('TEXT');
    Wait(1000);
    SendKeys(chr(13));
    end.

    It doesnt type anything in my rs screen. if i try to run it, say with scar on, it will type "text" in my scar script. how do i make it type in runescape?
     
  3. Unread #2 - Mar 11, 2009 at 12:17 PM
  4. Frt
    Joined:
    Oct 14, 2007
    Posts:
    15
    Referrals:
    0
    Sythe Gold:
    0

    Frt Newcomer

    Help with "sendkeys"

    Use TypeSend instead, less detectable and wil click enter once it has written the text.

    EDIT: Specify the RS window as the client and add ActivateClient before TypeSend.

    Code:
    program Writer;
    
    const
      Text = 'Blabla.'; // your text
    begin
    ActivateClient
    TypeSend(Text);
    end.
     
  5. Unread #3 - Mar 14, 2009 at 9:17 AM
  6. Hey321
    Joined:
    Jul 30, 2007
    Posts:
    503
    Referrals:
    0
    Sythe Gold:
    0

    Hey321 Forum Addict

    Help with "sendkeys"

    Frt, if you do that he'll get an unknown identifier ;).

    Code:
    program Writer;
    {.include srl/srl.scar}
    
    const
      Text = 'Blabla.'; // your text
    
    begin
      SetupSRL;
      ActivateClient
      TypeSend(Text);
    end.
    ~Sandstorm
     
< Line 46: ERROR UNKNOWN IDENTIFIER | ERROR MESSAGE!!!plz help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site