var timer = function(){ | var timer = function(){ | ||||
l('.'); | l('.'); | ||||
if(fso.FileExists("run.done")) close(); | |||||
if(fso.FileExists("run.done")) { | |||||
fso.DeleteFile('run.done') | |||||
close(); | |||||
} | |||||
else window.setTimeout(timer, 1000); | else window.setTimeout(timer, 1000); | ||||
}; | }; | ||||
window.setTimeout(timer, 3000); | window.setTimeout(timer, 3000); |