Could you drop off some example? I am also in the need of PC control via max, and project must to be in windows OS...
Unfortunately, mxj object is very poorly documented, reference do not says much, and I cannot find java-doc to read more about it...
What kind of class in mxj should be use to execute shutdown /s command?
After that you need to set in Max to run this link via message box.
; max launchbrowser yourlink.lnk
for example: ; max launchbrowser C:/User/me/Desktop/shutdown.lnk
once you click it, max will launch link, which triggers system to shutdown.
You can even use ; max quit then shutdown by using trigger b b, first quits max, then shutdown pc, or set it to ESC button or anything you like.