alias wait { ; thanks to whoever came up with this if ($1) { var %duration = $1 } else { var %duration = 1000 } var %tmp = $+($ticks,.wsf) var %cmd = write %tmp %cmd .comopen %tmp WScript.Shell | if !$comerr { .comclose %tmp $com(%tmp,Run,3,bstr,%tmp,uint,0,bool,true) } .remove %tmp }