Results 1 to 5 of 5

Thread: Help with a basic login script

  1. #1
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation Help with a basic login script

    This is my script:
    Code:
    program New;
    
    Var                   // Let me use some variables please
    x,y: Integer;        //  I would like to use variables x and y as integers please
    username,password: String;
    
    procedure Login;
    begin
    username := 'myuser'
    password := 'mypass'
    ClickMouse(469,294,True)
    wait(227)
    sendkeys(username)
    MoveMouseSmooth(487,260)
    clickmouse(487,260,true)
    wait(42)
    sendkeys(password)
    wait(5000)
    MoveMouseSmooth(509,318)
    ClickMouse(509,318)
    end;
    
    begin
    Login
    end.
    But whenever I run it I just get this error:
    Failed when compiling
    Line 21: [Error] (21:1): Invalid number of parameters in script
    Whats wrong??

  2. #2
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ClickMouse(509,318)

    Should be

    ClickMouse(509,318, true)

  3. #3
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks. How do I make movemousesmooth move the mouse slower?

  4. #4
    Join Date
    Feb 2006
    Posts
    1,022
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can't.

    You can, however, use MouseSpeed := 5; (lower the faster) from the SRL include.

  5. #5
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I ended up using this command: MoveMouseSmoothEx(711,480,1,6,15,20,10);

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A Basic Scar Tutural Script
    By Dankness in forum Outdated Tutorials
    Replies: 11
    Last Post: 10-10-2008, 10:50 PM
  2. Need help with login script.
    By danhill in forum OSR Help
    Replies: 9
    Last Post: 10-09-2008, 02:21 AM
  3. VERY Basic Script help
    By Wahbee in forum OSR Help
    Replies: 2
    Last Post: 12-05-2007, 02:38 AM
  4. My basic script
    By duncanp in forum OSR Help
    Replies: 3
    Last Post: 03-08-2007, 11:15 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
  •