Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2]   Go Down

Author Topic: Help using MachTen  (Read 8364 times)

emendelson

  • 32 MB
  • ***
  • Posts: 45
  • New Member
Re: Help using MachTen
« Reply #20 on: September 25, 2024, 09:20:09 AM »

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....
Logged

DrNo7

  • 64 MB
  • ****
  • Posts: 103
Re: Help using MachTen
« Reply #21 on: September 25, 2024, 10:24:29 PM »

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 ;)
Logged
Ti 1 GHz / 1 GB / FW SSD / Airport Extreme PCMCIA (triple boot)
Alu 12 1.5GHz / 1.5 GB / 256 GB mSata SSD (dual boot for now)

emendelson

  • 32 MB
  • ***
  • Posts: 45
  • New Member
Re: Help using MachTen
« Reply #22 on: September 26, 2024, 04:15:05 AM »

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

emendelson

  • 32 MB
  • ***
  • Posts: 45
  • New Member
Re: Help using MachTen
« Reply #23 on: September 26, 2024, 05:40:41 PM »

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.
Logged
Pages: 1 [2]   Go Up

Recent Topics