Hey,
I was trying to bot some browser games that involves clicking and page loading.
because of that I've made this procedure for browser-scripts to wait until the browser has fully loaded... It checks the cursor if there's a blue color around it (of the windows-load icon)
But unfortunately it doesn't work 
Simba Code:
Procedure Chrome_WaitUntilLoaded;
var f, mx, my, cx, cy, notload, MouseLoadColor: integer;
begin
notload := 0;
MouseLoadColor := 6643972;
for f := 1 to 100 do
begin
GetMousePos(mx,my)
if not FindColorTolerance(cx,cy,MouseLoadColor,mx-99,my-99,mx+99,my+99,50) then inc(notload);
if notload >= 3 then break;
wait(100);
end;
writeln('Waited '+FloatToStr(f*0.1)+'s');
end;
When I put the tolerance too high, it always sees the loading-color of the mouse, but when the tolerance is too low, it never sees it 
Anyone got a similar function or a way to fix this, any help is apreciated.