I tried to make a simple little detection program just to detect this button here on a firefox webpage. But I am having problems because my script can't find this bitmap.

SCAR Code:
program New;// Trying to detect the button through bitmap.
var BattlegroundsN: integer;
procedure Setup;
begin
BattlegroundsN := BitmapFromString(23, 11, 'beNpjYPhPMWBgABnyfi4vMnoxhYc' +
'BCUAE0bjICGLIg4kouuBcAzY2NBFkNciCQEPuTEBRA+Fy83BjCiJz' +
'kUWAhlztQVF/rpkLSPLwgtx5vgUqhaYGyEUWARpypBHBhbMFODiQu' +
'UDGQUYuZGXIuoCG7K/lQrYFmQtkIyM0cWRDtleAuNasrBARCBcINh' +
'dywtlbirjgbIgaZC7QkAUFnMgugXOBDGQpNDYyF5JaBh4AAChnsJA' +
'=');
end;
procedure ClickBattlegrouds;
var
x,y:integer;
begin
if(FindBitmapToleranceIn(BattlegroundsN,x,y,0,0,900,900,5)) then
begin
writeln('found');
end else
begin
writeln('not there');
end;
end;
begin
Setup;
ClickBattlegrouds;
end.
I thought I did something wrong somewhere, and went back to the beginner tuts. I then tried out one of Bebe's example program. Which looked exactly the same as mine, except that one actually works.
SCAR Code:
program New;
var
WillowLog2: integer;
procedure LoadBitmap;
begin
WillowLog2 := BitmapFromString(31, 25, 'beNqtlkFLAzEUhJujWBS' +
'V6qUHeyhqUcuKFUUKVihUFEVRoSAUPPn/f4GzjAyv+zZpsLvMoTTd' +
'L5O8eUlbrfWesKymnpJ22N3o9zYH/fbwZOvyfLshfhBzPNq9Lnagb' +
'HhIC5zJzR6wVnnw8l1YguANDmUS9gAB1isPHt4eBx/Pp1/vw+m4Q3' +
'mUhjRK+EGnneSH7/kF9XC37/kWa0U4VpcPt3yJ31sJvnJbBF98Fpb' +
'vmRJWhHKssl0PT4g7RtsoeryV/mImuN2cGJPxZq6gyW3vqug6fmAj' +
'QAmyiissxReZdtNNnCI8TY+wCWoHkm0aGXuPUuxVFzs7p0C2AQdt/' +
'nrGH5Msbx7rw+l3jPCfxYhWBUcfvcyOKw3urfp8erjiITjnwhSxro' +
'kl38PBIRwfaDuW9pyGqsBh2MJtYBLwvIYqCyo4bOc4r00pc8iz1KS' +
'95MM/hBXN7vu1fZooH5S88paGYq1kz0kHzL3FrHOZ19G99o0cKtvS' +
'BLPKp+Gm/zlUCvGv5xdCwRWZ');
end;
procedure FBitmap;
var
x, y :integer;
begin
if(FindBitmapToleranceIn(WillowLog2, x, y, 0, 0, 900, 900, 25)) then
writeln('found');
end;
begin
LoadBitmap;
FBitmap;
end.