Results 1 to 8 of 8

Thread: Simple little Typing Command

  1. #1
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default Simple little Typing Command

    Well I haven't been on Villavu in a long time and I see that some things have changed. I am trying to write a basic click and talk script from the coding I barely know anymore. So Typesend doesn't work know more does it? Doesn't work with the new simba so could someone tell me what other command I can use to make this script type things.

  2. #2
    Join Date
    Feb 2009
    Location
    AZ, USA
    Posts
    460
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    TypeSend('blah'); works for me in Simba.

    The only other typing function I know of is SendKeys()
    Is your account in an old-school random? Help SRL-OSR solve randoms!

  3. #3
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Ogre View Post
    TypeSend('blah'); works for me in Simba.

    The only other typing function I know of is SendKeys()
    Uhm.

    SCAR Code:
    Unknown identifier 'TypeSend' at line 7

    SCAR Code:
    program click;

    procedure Click;
    begin
     wait(5000)
     ClickMouse(520, 271, 1);
     TypeSend('blah');
    end;

    begin
      Click;
    end.

  4. #4
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Quote Originally Posted by ffcfoo View Post
    Uhm.

    SCAR Code:
    Unknown identifier 'TypeSend' at line 7

    SCAR Code:
    program click;

    procedure Click;
    begin
     wait(5000)
     ClickMouse(520, 271, 1);
     TypeSend('blah');
    end;

    begin
      Click;
    end.
    Simba Code:
    program Click;
    {$i SRL\SRL.scar}

    procedure ClickIt;
    begin
      Wait(5000);
      Mouse(520, 271, 0, 0, True);
      TypeSend('blah');
    end;

    begin
      Click;
    end.

  5. #5
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by TomTuff View Post
    Simba Code:
    program Click;
    {$i SRL\SRL.scar}

    procedure ClickIt;
    begin
      Wait(5000);
      Mouse(520, 271, 0, 0, True);
      TypeSend('blah');
    end;

    begin
      Click;
    end.
    Ahh thanks. Forgot Typesend was a SRL procedure.

  6. #6
    Join Date
    Feb 2009
    Location
    AZ, USA
    Posts
    460
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    View -> Extensions, enable srl.sex and others if you like, and let them update.

    Simba Code:
    program click;
    {$I SRL\SRL.scar}

    procedure Click;
    begin
     wait(5000)
     Mouse(520, 271, 0, 0, 1);
     TypeSend('blah');
    end;

    begin
      Click;
    end.

    Don't use ClickMouse(), iirc it's very detectable.

    E: Ninja'd :<
    Is your account in an old-school random? Help SRL-OSR solve randoms!

  7. #7
    Join Date
    Jan 2009
    Location
    Tacoma,Wa
    Posts
    338
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Ogre View Post
    View -> Extensions, enable srl.sex and others if you like, and let them update.

    Simba Code:
    program click;
    {$I SRL\SRL.scar}

    procedure Click;
    begin
     wait(5000)
     Mouse(520, 271, 0, 0, 1);
     TypeSend('blah');
    end;

    begin
      Click;
    end.

    Don't use ClickMouse(), iirc it's very detectable.

    E: Ninja'd :<
    I am not using this for Runescape

  8. #8
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    SRL can be used for things other than RuneScape, of course. "TypeSend('Text');" types and then hits the enter key to send the text. But if you would still prefer to stay away from SRL for your purposes, you can use "SendKeys('Text' + Chr(13));" That should work properly.

    What it does is type the text in the commas and then it will get to the "Chr(13)" part which basically means it hits the enter key on the keyboard to send the text. You can optionally remove this if you do not want to actually send the text. It is completely up to you. If you would prefer to only type the text, you can use this: "SendKeys('Text');".

    E: I misunderstood the last post, my bad. But my post still has some use.
    Last edited by RISK; 02-11-2011 at 04:14 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
  •