I know this has been discussed before, without any resolution, but I thought it might be worth asking again.
Has anyone found a way to make a BasiliskII setup (or SheepShaver) shut down when you close an application that you run at startup? I've been looking into Mini vMac's autoquit functions, but there's clearly no may to make them work in BII or SS. If anyone has come up with a method, since the last time this question came up, many of us would be grateful to know about it.
Close BasiliskII when an application closes?
Moderators: Cat_7, Ronald P. Regensburg
-
- Forum All-Star
- Posts: 1530
- Joined: Tue Oct 14, 2008 12:12 am
- adespoton
- Forum All-Star
- Posts: 3878
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Close BasiliskII when an application closes?
For BII, set up the application as the finder, with T&C FNDR/MACS, stuck in the System folder.
For SheepShaver, run an AppleScript in the background that monitors the frontmost application, and when it's the Finder, launch the Shutdown app (or call the Shutdown applescript action).
For SheepShaver, run an AppleScript in the background that monitors the frontmost application, and when it's the Finder, launch the Shutdown app (or call the Shutdown applescript action).
-
- Forum All-Star
- Posts: 1530
- Joined: Tue Oct 14, 2008 12:12 am
Re: Close BasiliskII when an application closes?
Fascinating! By T&C, do you mean File Type and Creator Code? So: the procedure would be this: use ResEdit to change the Type and Code of the app to FNDR and MACS; boot to a different startup disk; in the non-booting disk that I want to modify, move the app into the System Folder and delete the Finder from that folder; finally, boot from the modified disk?
If there's a more efficient way to do it, I'll be glad to hear about it. Thank you.
About SheepShaver, I'll start a separate thread after some more research.
- adespoton
- Forum All-Star
- Posts: 3878
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: Close BasiliskII when an application closes?
That's the way. There's also an OSAX someone wrote way back (part of Jon's Commands maybe?) that might work, but AppleScript in the background in older OSes is a bit sketchy.emendelson wrote: ↑Tue Mar 14, 2023 12:53 amFascinating! By T&C, do you mean File Type and Creator Code? So: the procedure would be this: use ResEdit to change the Type and Code of the app to FNDR and MACS; boot to a different startup disk; in the non-booting disk that I want to modify, move the app into the System Folder and delete the Finder from that folder; finally, boot from the modified disk?
The other solution is to swap out the Finder for something that just shuts down when activated for the second time.
-
- Forum All-Star
- Posts: 1530
- Joined: Tue Oct 14, 2008 12:12 am
Re: Close BasiliskII when an application closes?
This isn't in Jon's Commands. If you have any idea of where it might be, I would be glad to try it. Thank you again!
EDIT: You mentioned earlier the "Shutdown app." What is that? I can't find such an app on my MacOS 9 setup.
- Ronald P. Regensburg
- Expert User
- Posts: 7530
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: Close BasiliskII when an application closes?
It is an Apple menu item. It is available in some (earlier) MacOS installations, will also work in MacOS 9.emendelson wrote: ↑Tue Mar 14, 2023 11:39 pmEDIT: You mentioned earlier the "Shutdown app." What is that? I can't find such an app on my MacOS 9 setup.
-
- Forum All-Star
- Posts: 1530
- Joined: Tue Oct 14, 2008 12:12 am
Re: Close BasiliskII when an application closes?
Ah! The one that's been staring me in the face all the time. I didn't realize that it was an Apple-made app. Thank you.Ronald P. Regensburg wrote: ↑Wed Mar 15, 2023 6:41 amIt is an Apple menu item. It is available in some (earlier) MacOS installations, will also work in MacOS 9.emendelson wrote: ↑Tue Mar 14, 2023 11:39 pmEDIT: You mentioned earlier the "Shutdown app." What is that? I can't find such an app on my MacOS 9 setup.