Roberty Bob
2006-06-30 05:02:25
Must I use bitmaps and masks for every piece of text I want to find ? :rolleyes:
Reading text is sucking for me at the moment.
[PHP]program IWantToReadText;
{.include SRL\SRL.scar}
var
RFindText: boolean;
begin
RFindText:= False;
repeat
begin
RFindText:= IsUpText('alk'); //example for walking.
wait(1000+random(100));
end;
until RFindText
end.[/PHP]
[PHP]
my result:={
Successfully compiled
[Runtime Error] : Exception: Access violation at address 0065478C in
module 'scar.exe'. Read of address 00000000 in line 169 in script
C:\Program Files\SCAR\2.03\includes\srl\srl\core\Text.scar
}[/PHP]
SRL 232…
please explain. I can read any text using bitmaps but it feels like overkill for asimple job. I don't want it for a findobj type application… rather failsafe checks.
Reading text is sucking for me at the moment.
[PHP]program IWantToReadText;
{.include SRL\SRL.scar}
var
RFindText: boolean;
begin
RFindText:= False;
repeat
begin
RFindText:= IsUpText('alk'); //example for walking.
wait(1000+random(100));
end;
until RFindText
end.[/PHP]
[PHP]
my result:={
Successfully compiled
[Runtime Error] : Exception: Access violation at address 0065478C in
module 'scar.exe'. Read of address 00000000 in line 169 in script
C:\Program Files\SCAR\2.03\includes\srl\srl\core\Text.scar
}[/PHP]
SRL 232…
please explain. I can read any text using bitmaps but it feels like overkill for asimple job. I don't want it for a findobj type application… rather failsafe checks.