ejctquit-1.0.1.zip (45K) a zipped hfs disk image and checksum file. The disk image can be mounted with Mini vMac. Includes source code.
If you place the "EjctQuit" application in the "Shutdown Items" folder within the 7.5.x "System Folder", then Mini vMac will automatically quit when you shut down the emulated machine.
AutQuit7 can accomplish pretty much the same thing. However, if you don’t require the extra features of AutQuit7, and do require System 7.5, EjctQuit may still be useful. Since EjctQuit doesn’t run until shut down, it doesn’t have the (small) memory usage of AutQuit7, or the (slight) chance of incompatibilities.
All the application does is to set a flag within Mini vMac, which causes Mini vMac to quit when the last disk is ejected. So it will also work to place it in the "Startup Items" folder of earlier System 7 versions (which don’t have a "Shutdown Items") folder, but the disadvantage is that Mini vMac will quit if you eject the startup disk, and no other disks are mounted.
EjctQuit is a variation of AutoQuit, with the code for shutting down the machine taken out, since the "Shut Down" command already takes care of that. It is also an ordinary application, rather than a file with the same type as the Finder.
If the shift key is held down, EjctQuit will have no effect. (Mini vMac won’t quit, so you can reset the emulated machine and mount another boot disk image.)
EjctQuit will check to make sure that it is running inside of Mini vMac, and do nothing if it isn’t. This means it is safe to use a disk image with EjctQuit installed in other emulators.
Here is the md5 checksum for the download:
-----BEGIN PGP SIGNED MESSAGE----- 87c4e268fe3fd23954e6d64ae39b6b9b ejctquit-1.0.1.zip -----BEGIN PGP SIGNATURE----- Version: 2.6 iQCVAwUBUHCW/Niugru7WJg5AQFFqAQArvXHGzv9AA45HOrFsEy0KYHDBqbG4ttd 5X/2GiiduFyXtyeg+pHGyW6sNLkUpOH3scoOemQBpa6Nzg5Z1OT3Q+n2W8JcT1MX 5D3akm6zRdzHdm4kBT3Am58MaYWQLbZvalB3BfCASLteI3hbO7Vd6uModt/8DkMb q6J3wcAEqrE= =01am -----END PGP SIGNATURE-----
See the Compiling page for instructions on compiling EjctQuit from the source code.
You can redistribute EjctQuit and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the included file COPYING.
EjctQuit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
October 6, 2012
As reported by "David", it didn't work in the Basilisk II emulator. Copied fix from the Mini vMac build system for the code intended to detect when running in Mini vMac.
If you find EjctQuit useful, please consider helping the Gryphel Project, of which it is a part.