@peternlewis - My issue is that I have a machine that requires the KM web server to be close before shutting down. Therefore, the machine will not shutdown. I have no idea why this happens sometimes but the machine will not shutdown until the KM web server is closed.
A few times a week, I have KM shutdown my Mac Mini which is connected to a projector. This machine will not shutdown unless the KM web server has stopped. The logs show the failure of the web server not stopping. So, I created a macro to run through the UI steps to toggle the web server off before shutting down. When it works, it works great. I have KM go through the same steps to cut the web server back on when the machine boots up. If the toggle click fails, during the shutdown macro but still manages to shut down (effectively leaving the web server on), the login procedure will then cut the web server off instead of on because the shutdown failure failed to click the checkbox the night before. An AppleScript or a toggle (or some check) would provide the proper enable/disable mechanisms. Or I can work with you to figure out why the web server doesn’t stop in the first place. I’m hoping this isn’t to confusing.
Of course, this affects the use of the iOS Maestro app which I still find plenty of value in.
Anyway, I thought I’d ask.
Thanks for the response.