Mac OS 9 Discussion > Software

Help using MachTen

<< < (5/5)

emendelson:
Well, hiding the console window turns out to be simple:

tell application "Finder"
    set visible of process "MachTen" to false
end tell

The problem (for me, anyway) is timing this correctly so that I know the process is running and visible before making it invisible....

DrNo7:
You could replace the alias in the startup items folder with an AppleScript that opens the MacTen app before hiding the window.
And if there is not a way to make a condition on the window appearance, you can just add a sleep statement based on a rough timing ;)

emendelson:
That is exactly what I've done, and it seems to work fairly well. Thank you. I'll post when ready.

emendelson:
As promised (or threatened):

I've posted a Mac OS 9.0.4 system disk image, complete with MachTen, Crypto Ancienne, and Classilla (configured to use Crypto Ancienne) and an AppleScript that launches MachTen with Crypto Ancienne and then hides the console window. You should be able to use with SheepShaver under macOS (it's a sparsebundle so it won't work in Windows or Linux):

https://mendelson.org/MacOS9MachTen.sparsebundle.zip

The system is a default-installation Mac OS 9.0.4 system, with only four things added: the MachTen folder, the Classilla folder, a BBedit Lite folder for editing MachTen configuration files if you don't want to wrestle with vi or some other unix-style editor, and the AppleScript, which can be copied into the Startup Items folder.

When you shut down the system, the MachTen console appears briefly, and then the system finally shuts down.

Navigation

[0] Message Index

[*] Previous page

Go to full version