scuz 10
2010-02-02 17:34:28
I am trying to read the 391 gp below the picture of the item on the top left side of the ge interface.
It appears to be StatChars, and I am using the following code:
However, no matter what I change, i get the following output:
What does this -1 mean? Is the font something other than statchars?
It appears to be StatChars, and I am using the following code:
program New;
{.include SRL\SRL.scar}
procedure ReadPrice;
var
x,y: Integer;
begin
FindColor(x, y, 39321,118,138,150,150);//finds the ge font color
writeln(strtoint(trim(GetTextAtEx(x,y-2,50,StatChars,false,false,1,5,39321,80,false,tr_allChars))));
end;
begin
ActivateClient;
SetupSRL;
ReadPrice;
end.However, no matter what I change, i get the following output:
Successfully compiled (1767 ms)
SRL Compiled in 0 msec
-1
Successfully executed
What does this -1 mean? Is the font something other than statchars?