Results 1 to 5 of 5

Thread: Click(left: boolean);

  1. #1
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Click(left: boolean);

    Self-explanatory (is that a word?)
    I don't know if you guys find it useful but i do.

    SCAR Code:
    procedure Click(left: boolean);
    var
      x, y: integer;
    begin
      GetMousePos(x, y);
      HoldMouse(x, y, left);
      wait(50+random(20));
      ReleaseMouse(x, y, left);
    end;

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

    Default

    Hmm...

    Does it really need its own procedure? This procedure could really be just:

    SCAR Code:
    procedure Click(left: boolean);
    var
      x, y: integer;
    begin
      GetMousePos(x, y);
      Mouse(x,y,0,0,left);
    end;

    ?

    Edit: Like Infintry said below, I also use the same thing for clicking (as you should). But it's just 2 lines like above.
    Last edited by JAD; 08-17-2009 at 04:22 AM.

  3. #3
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I use something similar to this, for occasions such as after I use MMouse to check the uptext. I don't want to use Mouse again, as this changes the location of the actual mouse.

  4. #4
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I think this has been suggested millions of times before, and I can still not understand why it's never made its way into the include :/
    I support this.

  5. #5
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    I think this has been suggested millions of times before, and I can still not understand why it's never made its way into the include :/
    I support this.
    If you then can show me these millions of threads/posts requesting it, I'll gladly add it.
    For now I won't, sorry - but this is the kind of things I want people to make themselves and keep to their scripts. Mostly because I don't think it shortens many lines at all.

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
  •