Moving Mouse

Discussion in 'Scar/Simba Help' started by Nightmare0, Dec 26, 2007.

Moving Mouse
  1. Unread #1 - Dec 26, 2007 at 1:28 AM
  2. Nightmare0
    Joined:
    Mar 31, 2007
    Posts:
    104
    Referrals:
    0
    Sythe Gold:
    0

    Nightmare0 Active Member

    Moving Mouse

    Okay:

    In the script im making, i made it so scar moved the mouse to a specific color, then right clicked on the color. It's pretty much going to an object in runescape and right clicking on it. Now, i need to know how to make it so it will then move down to one of the commands below. Pretty much move to a lower y coordinate from the x,y coordinates i targeted with the color.
     
  3. Unread #2 - Dec 26, 2007 at 11:43 AM
  4. StarScreamer
    Referrals:
    0

    StarScreamer Guest

    Moving Mouse

    this was one of my first questions as well here is a quick script i made to show you how. It uses SRL.

    Code:
    program ColorAndTextClick;
    {.include SRL/SRL.scar}
    Procedure Clickity;
    var
    x,y:integer;
    begin
      FindObj(x,y,'the uptext',555{<- the color},3{<-the tolerance})
      GetMousePos(x,y);//gets the current x,y co-ords
      Mouse(x,y,3,3,false);//clicks the mouse at x,y right click
      ChooseOption('option');//option you wanted eg 'Take iron'
    end;
    
    begin
    SetupSRL;
    Clickity;
    end.
    feel free to add my msn if you need more help, my msn is [email protected]
    GoodLuck on your script! ;)
     
< PoW Crumble Undead Script | Failed when compiling >

Users viewing this thread
1 guest


 
 
Adblock breaks this site