Adblock breaks this site

Help with "sendkeys"

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

  1. codey

    codey Forum Addict

    Joined:
    Feb 16, 2007
    Posts:
    433
    Referrals:
    0
    Sythe Gold:
    0
    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?
     
  2. Frt

    Frt Newcomer

    Joined:
    Oct 14, 2007
    Posts:
    15
    Referrals:
    0
    Sythe Gold:
    0
    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.
     
  3. Hey321

    Hey321 Forum Addict

    Joined:
    Jul 30, 2007
    Posts:
    503
    Referrals:
    0
    Sythe Gold:
    0
    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 >


 
 
Adblock breaks this site