Results 1 to 5 of 5

Thread: Mouse speed?

  1. #1
    Join Date
    Sep 2006
    Location
    C:/
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Mouse speed?

    Hey I'm fresh off of reading about 6 tutorials on scripting and am getting to know things fairly quickly (h) I just want to know about setting the mouse speed. I try MMouse, movemousesmooth(and the other procedures which I probably shouldn't use) and know how make them move with randomness and randomize the mouses destination, but how do I change the speed/ randomness of the speed the mouse moves?

    Thanks,
    -Cov3rt
    Quote Originally Posted by mc9 View Post
    Why seed??
    stop leech
    download fast give more
    :-)
    Vicarious Scripter

    http://www.fenjer.com/adnan/SRLStats/3964.png

  2. #2
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There's a global variable called "mousespeed" in SRL, all you have to do is declare the speed in your script.

    i.e:

    SCAR Code:
    program New;
      {.INCLUDE SRL/SRL.SCAR}
    begin
      SetupSRL;
      MouseSpeed := 5; // Not sure if the lower the setting the faster the mouse moves.
    end.

  3. #3
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can randomize the mouse speed like

    SCAR Code:
    MouseSpeed := 3 + random(6);

    though or whatever. And MoveMouse, MoveMouseSmooth and ClickMouse are all detectable. MMouse is not though, along with Mouse

    You can also open up and run SetupSRL;, and you can change the mouse speed in there.

  4. #4
    Join Date
    Sep 2006
    Location
    C:/
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thankyou, will be (trying) to make my first basic script soon =D
    Quote Originally Posted by mc9 View Post
    Why seed??
    stop leech
    download fast give more
    :-)
    Vicarious Scripter

    http://www.fenjer.com/adnan/SRLStats/3964.png

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

    Default

    Ask for help if needed

    My email's in public profile if you like. Ofcourse, you can always post here instead
    [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]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mouse speed
    By Mamby in forum OSR Help
    Replies: 4
    Last Post: 10-21-2007, 03:58 AM

Posting Permissions

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