Results 1 to 12 of 12

Thread: first script autotyper

  1. #1
    Join Date
    Sep 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default first script autotyper

    this is my first script which is an autotyper, is there anything wrong with it


    SCAR Code:
    program AutoTyper;

    Const
    TextToType = 'hello'; //What You Want Your Message To Say

    begin
     ClearDebug;
      WriteLn('AutoTyper');
      WriteLn('MADE BY SNATCH');
      repeat
      Wait(3000+random(500)); //Edit If You Want To Change The Time Between Messages
      TypeSend(TextToType);
      TypeSend(+Chr(13));
      until(false);
    end.

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Nothing wrong at all.

    However, it's a bit simple.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  3. #3
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you should use
    SCAR Code:
    sendkeys(textToType);
    instead. It works better, and you can leave out the chr13.

    you need to tab over after your repeat

    you need to include semi colons, after false, and your wirtelns
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  4. #4
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Actually, Greg, TypeSend is less detectable, types in a human speed and also presses enter for you...
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  5. #5
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by SantaClause View Post
    Actually, Greg, TypeSend is less detectable, types in a human speed and also presses enter for you...
    oh, so sorry, i supose that I got them confused? doenst his press enter manually?
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  6. #6
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    He doesn't need that part. It shouldn't even work. You can't type the pressing of a button. TypeSend = Type And Send...
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  7. #7
    Join Date
    Jul 2007
    Location
    's-Gravenpolder, Holland
    Posts
    204
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice autotalker to start with
    Reminds me of my first autotalker script
    Like Santa said, its simple, but effective.

    Good job for your first script

  8. #8
    Join Date
    Sep 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i actually used sendkeys to begin with then i heard typesend was better so i changed it, but i just tested the script then and it wont work...i got this
    Line 13: [Error] (13:1): Unknown identifier 'TypeSend' in script
    the updated script

    SCAR Code:
    program AutoTyper;

    Const
    TextToType = 'hello'; //What You Want Your Message To Say

    begin
     ClearDebug;
      WriteLn('AutoTyper');
      WriteLn('MADE BY SNATCH');
      repeat
      Wait(3000+random(500)); //Edit If You Want To Change The Time Between Messages
      TypeSend(TextToType);
      until(false);
    end.

  9. #9
    Join Date
    Jul 2007
    Location
    's-Gravenpolder, Holland
    Posts
    204
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It wont work with typesend, because it is a srl command.
    if you make your script like this:

    SCAR Code:
    program AutoTyper;
    {.include SRL/SRL.scar}
    Const
    TextToType = 'hello'; //What You Want Your Message To Say
     
    begin
     ClearDebug;
      WriteLn('AutoTyper');
      WriteLn('MADE BY SNATCH');
      repeat
      Wait(3000+random(500)); //Edit If You Want To Change The Time Between Messages
      TypeSend(TextToType);
      until(false);
    end.

    It will work
    Good luck with your following scripts!

  10. #10
    Join Date
    Jul 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmmm... A nice script im gonna try it out, I should make a autotalker for my first script. I will edit this if I have anything to say...

  11. #11
    Join Date
    Jul 2007
    Posts
    184
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Ill test it

    ill test this
    but i don't have any need for it at the min tho

  12. #12
    Join Date
    Sep 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks sirpali i havent read about includes before

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 1st Script! Not an autotyper!
    By Tim0suprem0 in forum First Scripts
    Replies: 15
    Last Post: 03-25-2008, 04:56 AM
  2. First Script Autotyper
    By Xemnas in forum First Scripts
    Replies: 6
    Last Post: 01-05-2008, 12:33 AM
  3. AutoTyper My first script :P
    By scanjet92 in forum First Scripts
    Replies: 2
    Last Post: 12-24-2007, 10:48 AM
  4. Autotyper ( My First Script )
    By Hasslarn in forum First Scripts
    Replies: 19
    Last Post: 11-03-2007, 06:00 PM
  5. My first ever script! (autotyper)
    By bell1313 in forum OSR Help
    Replies: 8
    Last Post: 01-14-2007, 07:09 PM

Posting Permissions

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