Xref: utzoo comp.sys.mac.hypercard:6412 comp.sys.mac.programmer:23709 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!rutgers!mcnc!ecsgate!ecsvax!dlugose From: dlugose@uncecs.edu (Dan Dlugose) Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer Subject: Re: How can I have an HC stack check if it's running from a hard disk? Message-ID: <1991Apr17.173329.10653@uncecs.edu> Date: 17 Apr 91 17:33:29 GMT References: <1991Apr13.181917.20797@spool.cs.wisc.edu> Organization: UNC Educational Computing Service Lines: 25 In article <1991Apr13.181917.20797@spool.cs.wisc.edu> elliott@veronica.cs.wisc.edu (James Elliott) writes: >I have a HyperCard stack I'm creating as an entry for a contest, which >makes intensive use of sampled sounds. I would like to have it test to >see if it is being run from a floppy and warn the user that >performance will be miserable if that happens to be the case (because >floppy access mangles sound output horribly). How can I do this? In the startup script, put on openstack if the diskspace < 1200000 then -- either your hard disk is chock full and you need to -- do something else or warn the user of this possibility answer "This needs to run on a hard disk" with "continue" or "quit" end if end openstack Dan Dlugose UNC Educational Computing Service -- Dan Dlugose Internet: dlugose@uncecs.edu UNC Educational Computing Service Box 12035, Research Triangle Park, NC 27709-2035