Function
2010-01-17 13:48:48
Alright I don't how were doing this (was just added as a tester yesterday) but if we are recreating the whole library I made MouseBox :) I'm not experienced enough to make a new mouse procedure so it uses clickmouse. But that can easily be adjusted. So here is my version of MouseBox for the new mufasa library :D Feedback?
<-- Suggestion :)
[SCAR]
procedure MouseBox( x1, y1, x2, y2, LeftClick: integer );
var
xi, yi : integer;
begin
xi := x2 - x1;
yi := y2 - y1;
ClickMouse( x1 + random( xi ), y1 + random( yi ), LeftClick );
end;
[/SCAR]
<– Suggestion :)