rj
2013-03-13 16:29:58
So I am working on my own SS include, and I am look at @DannyRS P07Include at his uptext code:
Simba claims to not find the folder "SSUpChars" When I made a folder called "SSUpChars" In C:Simba/fonts what am I doing wrong? Do I have to have all of the upchars for it to work?
Function P07_GetUpText: String;
Var
WhiteT,BlueT,YellowT,OrangeT,FoundText: String;
Begin
WhiteT:=GetTextAtExWrap(10, 9, 80, 21, 0, 5, 1, 14541281, 55, 'SSUpChars');
BlueT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 15132173, 65, 'SSUpChars');
YellowT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 1235160, 40, 'SSUpChars');
OrangeT:=GetTextAtExWrap(35, 8, 170, 21, 0, 5, 1, 4687583, 53, 'SSUpChars');
FoundText:=WhiteT + ' ' + BlueT + YellowT + OrangeT;
FoundText:= ReplaceWrap(FoundText, '.', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '/', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '\', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, ',', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '*', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '^', '',[rfReplaceAll]);
FoundText:= ReplaceWrap(FoundText, '"', '',[rfReplaceAll]);
Result:=FoundText;
End;Simba claims to not find the folder "SSUpChars" When I made a folder called "SSUpChars" In C:Simba/fonts what am I doing wrong? Do I have to have all of the upchars for it to work?