Results 1 to 14 of 14

Thread: +1?

  1. #1
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default +1?

    I have thought of a new way to make accounts fast and easily, But theres one problem, I need help on this part.


    Heres the script:

    SCAR Code:
    const
      Times = 10;  //How many times to print a name?

    var
      i: Integer;

    begin
       repeat
            MoveMouseSmooth(559,415)
               ClickMouse(559,415,true)
               wait(2000)
      for i:=0 to High(10) do
       SendKeysSilent('Nasadaws'+IntToStr(i));
            wait(1000)
            MoveMouseSmooth(551,513)
               ClickMouse(551,513,true)
                SendKeysSilent('Blue');
                MoveMouseSmooth(556,550)
            ClickMouse(556,550,true)
        SendKeysSilent('Blue')
        until(false)
               
           
    end.


    It just does this Nasadaws0Nasadaws1Nasadaws2Nasadaws3Nasadaws4Nasad aws5Nasadaws6Nasadaws7Nasadaws8Nasadaws9Nasadaws10 Nasadaws11Nasadaws12Nasadaws13Nasadaws14Nasadaws15 Nasadaws16Nasadaws17Nasadaws18Nasadaws19Nasadaws20 Nasadaws21Nasadaws22Nasadaws23Nasadaws24Nasadaws25 Nasadaws26Nasadaws27Nasadaws28Nasadaws29Nasadaws30 Nasadaws31Nasadaws32Nasadaws33Nasadaws34Nasadaws35 Nasadaws36Nasadaws37Nasadadaws42Nasadaws43Nasadaws 44Nasadaws45Nsadaws82Nasadaws83Nasadaws84Nasadaws8 5Nasadaws86Nasadaws87Nasadaws88Nasadaws89Nasadaws9 0Nasadaws91Nasadaws92Nasadaws93Nasadaws94Nasadaws9 5Nasadaws96Nasadaws97Nasadaws98Nasadaws99Nasadaws1 00Nasadaws101Nasadaws102Nasadaws103Nasadaws104Nasa daws105Nasadaws106Nasadaws107Nasadaws108Nasadaws10 9Nasadaws110Nasadaws111Nasadaws112Nasadaws113Nasad aws114Nasadaws115Nasadaws116Nasadaws117Nasadaws118 Nasadaws119Nasadaws120Nasadaws121Nasadaws122Nasada ws123Nasadaws124Nasadaws125Nasadaws126Nasadaws127w s38Nasadaws39Nasadaws40Nasadaws41Nasa



    And I want it to print one then carry on with the rest of the script, Then print the next one like this:



    Click
    Click
    Print Name1
    Click
    Click
    Next time
    Click
    Click
    Print Name2
    Click
    Click

  2. #2
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    for i:=0 to High(10) do
    Will only do the very next line from 0 to High(10) times.
    So put-
    SCAR Code:
    for i:=0 to High(10) do
    begin
      Whatever;
    end;
    And it will do what is between begin and end that many times.

  3. #3
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry, I'm alittle rusty (I just got back to scripting) Could you put that into the script? I'm clueless to where to put it.

  4. #4
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    program AccountMaker;
    const
      Times = 10;  //How many times to print a name?
    var
      i: Integer;
    begin
      repeat
        MoveMouseSmooth(559,415)
        ClickMouse(559,415,true)
        wait(2000)
        for i:=0 to High(10) do
        begin
          SendKeysSilent('Nasadaws'+IntToStr(i));
          wait(1000)
          MoveMouseSmooth(551,513)
          ClickMouse(551,513,true)
          SendKeysSilent('Blue');
          MoveMouseSmooth(556,550)
          ClickMouse(556,550,true)
          SendKeysSilent('Blue')
        end;
      until(false)
    end.
    I through in proper indenting so I could read it
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  5. #5
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That doesn't work, Could someone fix it?

  6. #6
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    For that you need a space between them like:

    SCAR Code:
    WriteLn('')


    Hope I Helped

  7. #7
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No, Sorry it didn't.


    It clicks and when it does the click before printing it doesn't do anything, just keep repeating the Click.

  8. #8
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Almost seems to be a little rusty too, High(10) returns 2147483647.

  9. #9
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What Number should it be?


    EDIT: I Found out it works with Writeln, But not SendKeysSilent.

  10. #10
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Maybe for i:=0 to Times do?

  11. #11
    Join Date
    Jun 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, Thanks.


    Now my problem is it won't work with SendKeysSilent, I have no idea why, It works with Writeln.

  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Instead of SendKeysSilent, Try TypeSend or Send Keys

  13. #13
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Almost seems to be a little rusty too, High(10) returns 2147483647.
    Read please.
    I didn't make the script.
    I didn't put High in there at all.

  14. #14
    Join Date
    Jul 2007
    Location
    So Cal
    Posts
    410
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    also some srl procedures like MMouse instead of MoveMouseSmooth perhaps?

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
  •