**BANNED The Man
2011-01-27 08:47:49
MultiMouse
MouseUpText
MChooseOption
I will add all of the requested mouse functions here.
-Boom
{*******************************************************************************
procedure MultiMouse(ClickTimes, mousex, mousey, ranx, rany: Integer; left: Boolean);
By: Dynamite
Description: Moves then clicks mouse the amount of (Times)
*******************************************************************************}
procedure MultiMouse(ClickTimes, mousex, mousey, ranx, rany: Integer; left: Boolean);
begin
for I := 1 to ClickTimes do
Mouse(x, y, 0, 0, True);
end;MouseUpText
function MouseUpText(TP, rXY: TPoint; Left: Boolean; UpText: String): boolean;
var
mTP: TPoint;
begin
MMouse(TP.x, TP.y, rXY.x, rXY.y);
Result := WaitUpText(UpText, 500);
if not Result then exit;
GetMouseTP(mTP);
Mouse(mTP.x, mTP.y, 0, 0, Left);
Result := GetUpText = UpText;
end;MChooseOption
function MChooseOption(TP, rXY: TPoint; UpText, option: string): boolean;
begin
if not MouseUpText(TP, rXY, false, UpText) then
exit;
result := waitchooseoption(option, 500);
end;I will add all of the requested mouse functions here.
-Boom