Thank - I have selected "Start up automatically after a power failure" in Preferences.
However, this would only be set if you "crashed" the MacPro by abruptly turning the power off to leave it in that state. I do not think this is a recommended practice routinely since you could damage hard drive(s) and SSD by not shutting down the OS after exiting Hauptwerk each time.
The do shell script routine would be preferable since it leaves the MacPro in a state mimicking a power failure and boot up when power is next applied thru an organ master switch.
I think this is correct. This is what GeoffUK wrote.........
Andy
===================================================================
Post by GeoffUK » Wed Mar 01, 2017 1:28 pm
Hi Andy,
I wrote this short shell script to this on my organ and it's a great feature. When you want to close down, first close HW; then run the shell script which will close down the OS and then turn off the power. The Mac sees that as a power fail so when you re-apply the power it will boot automatically. I use a wireless mains switch with this so I can get the organ on to play with a small remote wand.
do shell script "shutdown -u -h now" user name "Your Mac user name" password "Your password" with administrator privileges
I keep the icon for this script on the desktop screen so I can double click it to run.