Hi Michael,
Thank you for thinking about this problem, for the shortcut keys, and for the code snippet.
Seems like it might get fairly involved especially to do it on both Mac and Windows.
How about a way to prevent MoI from starting if the startup script detects a condition? It's not the prettiest solution, but would probably be good enough for my use.
I tried doing this by doing moi.exit() in a startup script, but that causes the new instance of MoI to freeze permanently. Seems like doing moi.exit() in a startup script before the graphics get displayed causes a problem, since it works fine if I do moi.exit() manually right after the graphics load.
Are there any alternatives for causing MoI to exit or a trick to get moi.exit() to work in a startup script?
- Peer
|