Small note regarding the usage of a wsf file in the way you did. I've found that using a vbs file with wscript.sleep <N> works as well, making the code somewhat shorter, although well, the size doesn't really matter anyway. 
alias sleep {
if ($1 !isnum 1-) return
var %a = $ticks $+ .vbs
write %a wscript.sleep $1
.comopen %a wscript.shell
if (!$comerr) .comclose %a $com(%a,Run,3,bstr,%a,uint,0,bool,true)
.remove %a
}
EDIT: Forgot to mention, very nice snippet :)Text edited by author on Oct 15, 2005 @ 12:56PM |