Results 1 to 13 of 13

Thread: Simba won't rightclick

  1. #1
    Join Date
    Dec 2012
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default Simba won't rightclick

    Hey guys,

    plain and simple, I can't get my script to right click anything.
    Tried Mouse(x, y, 0, 0, 2) which moves the mouse to the right spot but doesn't open the options menu, and also ClickMouse(x, y, mouse_Right) which just plain doesn't do anything. Got any advice?

  2. #2
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    clickmouse2(mouse_right) ?

  3. #3
    Join Date
    Feb 2012
    Location
    Discord
    Posts
    3,114
    Mentioned
    37 Post(s)
    Quoted
    538 Post(s)

    Default

    With clickmouse, have you already moved the mouse to the cords? and with mouse it works better as Mouse(x, y, 1, 1, Mouse_Right); :P

  4. #4
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Try Mouse(x, y, 0, 0, False)
    Current Project: Retired

  5. #5
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Mouse(,,,,mouse_Right);

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    yeah it's Mouse(x, y, rx, ry, mouse_right) instead of Mouse(x, y, rx, ry, 2)

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Mouse_Right = 0

  8. #8
    Join Date
    Dec 2012
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    yeah it's Mouse(x, y, rx, ry, mouse_right) instead of Mouse(x, y, rx, ry, 2)
    Domo arigato, that did the trick. Strangely Clickmouse worked too all of a sudden... ghost in the machine it is I tell ya

  9. #9
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Don't use ClickMouse, ClickMouse2 is the more human version.

  10. #10
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Not recommended to use ClickMouse for rs since it releases mouse button instantly etc (detectable). It performs the click at (X, Y) but doesn't move your cursor there. So in order to use it you need to use MoveMouse(X, Y) first.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  11. #11
    Join Date
    Dec 2012
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Again thanks for the tip about clickmouse, heard it before but just realised my other script still used it in one line. Stuff is fixed now

  12. #12
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    Not recommended to use ClickMouse for rs since it releases mouse button instantly etc (detectable). It performs the click at (X, Y) but doesn't move your cursor there. So in order to use it you need to use MoveMouse(X, Y) first.
    Not MoveMouse but MMouse

    Creds to DannyRS for this wonderful sig!

  13. #13
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    418
    Mentioned
    2 Post(s)
    Quoted
    86 Post(s)

    Default

    Also make sure you declare the SRL include:
    {$define srl5}
    {$i srl/srl.simba}

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
  •