PDA

View Full Version : MouseChoose and MouseChooseEx



Ibotlots8D
04-02-2012, 02:09 PM
function MouseChoose(var x,y,rx1,ry1:Integer; Z:String):Boolean;
begin
Mouse(x,y,rx1,ry1,False);
Result := ChooseOption(Z);
end;

function MouseChooseEx(var x,y,rx1,ry1,WaitTime:Integer; Z:String):Boolean;
begin
Mouse(x,y,rx1,ry1,False);
Result := WaitOption(Z, WaitTime);
end;
It's so much more easier than typing it out >.>

Abu
04-02-2012, 02:13 PM
Support - though typing it out isn't that hard :p

Ibotlots8D
04-02-2012, 02:13 PM
I know, i'm lazy though >=o

Coh3n
04-02-2012, 06:50 PM
Moved to snippets. This is something that should be left up to the scripter.

Flight
04-05-2012, 12:30 PM
How about using 'WaitOptionMultiEx' instead also making your 'Z' parameter a TStringArray?

Mat
04-05-2012, 12:52 PM
I like the idea :D