[SOLVED] Automating sound output selection?

misterg33

New Tinkerer
Oct 10, 2022
31
8
8
Looking for a way to automate sound output selection. For some reason one of my SheepShaver instances is defaulting to selection = none, every time I restart it. Hoping smeone knows of a scripting addition or something similar where I can set it to output = built-in on startup. Thanks in advance!
 

misterg33

New Tinkerer
Oct 10, 2022
31
8
8
Solved this by copying over the "sound scripting" addition from a 9.1 install. Although OS 9.1 isn't supported on sheepshaver, the scripting addition seems to work fine under OS 9.0.4.

tell application "Sound Scripting"
set sound output device to "Built-in"
end tell

Save script as app, place in startup items folder. Voila.