Reflect.Mouse.Move(point and stuff, MouseSpeed);
- A function which takes in a point, randomizes such point, and alters the mouse speed for the duration of the function.
Because I am tried of copy and pasting the Reflect.MouseSpeed global.. :=)
Reflect.Mouse.Move(point and stuff, MouseSpeed);
- A function which takes in a point, randomizes such point, and alters the mouse speed for the duration of the function.
Because I am tried of copy and pasting the Reflect.MouseSpeed global.. :=)
Last edited by Keelijh; 01-20-2016 at 04:55 AM. Reason: clarification
Well if you want to randomize the point then it is best to use a TBox.
Simba Code:procedure CustMouseMove(box:TBox; Speed:Integer);
var
pt:TPoint;
begin
Reflect.MouseSpeed := Speed;
pt.x := RandomRange(box.X1, box.X2);
pt.y := RandomRange(box.Y1, box.Y2);
Reflect.Mouse.Move(pt, 0, 0);
Reflect.MouseSpeed := 20;
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)