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;
Printable View
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;
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.
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.
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.