[RS3]A function to tell if the popup box that says the system will update in XX:XX time is on the screen or not. I have had many scripts die because of it, so this is useful for telling if the update popup is the cause or not.
Simba Code:function isSystemUpdating(): boolean;
var
sysUpdateDTM: integer;
p: TPoint;
begin
result := false;
sysUpdateDTM := DTMFromString('mlwAAAHicY2dgYEhiZWDQBOIJQHwIiH+zMDCkAekUIN4ClN8IxJuBeBMUXwbiRUDcwc3P0A7E3TxADWhABAlzoWFGPBgKAMWyCwY=');
if (findDTM(sysUpdateDTM, p.x, p.y, getClientBounds())) then
begin
writeln('Found system update screen.');
result := true;
end;
freeDTM(sysUpdateDTM);
end;