rotchy1
03-16-2012, 06:01 AM
function ChooseOptionEx(Txt, TextType: string): Boolean;
begin
Result := ChooseOptionMultiEx([Txt], TextType, ClickLeft);
end;
How would I go about making this function choose the option "Exchange"?
This is what I tried, but i cant get it to compile..
function OpenGE(Txt: 'Exchange'): Boolean;
begin
Mouse(304, 159, 5, 5, mouse_right);
Result := ChooseOptionMultiEx([Txt], 'All', ClickLeft);
end;
(the Mouse(304, 159, 5, 5, mouse_right); is to right click on the GE person)
begin
Result := ChooseOptionMultiEx([Txt], TextType, ClickLeft);
end;
How would I go about making this function choose the option "Exchange"?
This is what I tried, but i cant get it to compile..
function OpenGE(Txt: 'Exchange'): Boolean;
begin
Mouse(304, 159, 5, 5, mouse_right);
Result := ChooseOptionMultiEx([Txt], 'All', ClickLeft);
end;
(the Mouse(304, 159, 5, 5, mouse_right); is to right click on the GE person)