«a dual function agent
«if the system has been idle for more than 10 minutes, save the database
«if not, I added a little hack that keeps my Jaz disk spun up as long as I'm active
«install this script at system.agents.keepJazSpin
if clock.idleTime () > (60 * 10)
filemenu.save ()
else «keep the Jaz disk running
try
local (vol = "Jaz Disk 1:", f)
f = vol + "xxx.ooo.ppp." + random (0, 100)
toys.writewholefile (f, "abc", 'TEXT', 'MSIE', clock.now ())
file.delete (f)
clock.sleepFor (60)
This page was last built on Sat, Aug 16, 1997 at 6:43:31 PM. You can download the current set of sample scripts from our FTP site. Dave |