
Originally Posted by
Wizzup?
That is not right. ChooseOption handle's all colors. I think hy means that the result of chooseoption is not right, right hy?
Well then its probably something, if u use 2 different like the example above, 'tack cow' where "tack" is white, and "cow" is yellow. Well.. could be im wrong again. I have to look at the code of Chooseoption 
edit
I see, it uses bitmapmasks well i dunno then..
To devs: i made the function work faster 
SCAR Code:
program New;
{.Include SRL/SRL.Scar}
Var
T: Integer;
function ChooseOptionEx(txt: string): Boolean;
var
x1, y1, x2, y2, LeftCorner, RightCorner, x, y: Integer;
begin
LeftCorner := BitmapFromString(4, 4, 'z78DA33753135313137C5' +
'411A600064715CEA914500CACE13F0');
RightCorner := BitmapFromString(4, 4, 'z78DA33753135313137' +
'C5200D30002E35F8C501C9C013F0');
if (FindBitmapIn(LeftCorner, x1, y1, Msx1, Msy1, Msx2, Msy2))Then
if (FindBitmapIn(RightCorner, x2, y2, Msx1, Msy1, Msx2, Msy2)) then
if (FindText(x, y, txt, upchars, x1, y1, x2, 502)) then
begin
Result := True;
Mouse(x1 + 5, y + 3, Length(txt) * 6, 4, True);
end else
begin
MMouse(x1 - 50, y1 - 50, 40, y2-y1);
Wait(200 + Random(100));
end;
FreeBitmap(LeftCorner);
FreeBitmap(RightCorner);
end;
Begin
SetupSRL;
T := GetSystemTime;
ChooseOptionEx('hello');
Writeln('Ex '+IntToStr(GetSystemTime - T)+' Msec');
T := GetSystemTime;
ChooseOption('hello');
Writeln('Ex '+IntToStr(GetSystemTime - T)+' Msec');
End.
run that and see for ur self. About 100msec faster