Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!biostr.washington.edu!kraig From: kraig@biostr.washington.edu (Kraig Eno) Newsgroups: comp.sys.mac.hypercard Subject: Re: Looking for XCMD/XCFN to eject disk and to shutdown Message-ID: <14500@milton.u.washington.edu> Date: 16 Jan 91 01:45:43 GMT Sender: news@milton.u.washington.edu Organization: University of Washington Lines: 22 References:<2509@casbah.acns.nwu.edu> <47997@apple.Apple.COM> <1991Jan12.210640.2513@midway.uchicago.edu> matt@acns.nwu.edu (Matt Larson) writes: >I would like to be able to shutdown the Mac from within HyperCard jkc@Apple.COM (John Kevin Calhoun) replies: >This is not a good thing to do. Unfortunately, there's no way to guarantee, >if you shut down the Macintosh from within HyperCard, that HyperCard will >have written everything out to the disk that has to be written ... Would it work to use HyperCard's "open" command? You can, for example, open Microsoft Word from within a script. Could you make a small application called "Shutdown" (it probably already exists somewhere) and do the command open "Shutdown" from within your script? I would assume that HyperCard must do all its cleaning up before running a different app, but that's not necessarily the case, I suppose. Kraig Eno, kraig@biostr.washington.edu "Problems generate new knowledge" - M. Usui