Well. I found keyboard combination (ALT+SHIFT+Q).
Command is
Sanderling.KeyboardPressCombined(new{ VirtualKeyCode.LMENU, VirtualKeyCode.SHIFT, VirtualKeyCode.VK_Q});
P.S. First time we need to set checkbox to Quit without confirmation.
P.P.S. Now need to try to shutdown system with commands like System.Diagnostics.Process.Start(“Shutdown”, “-s -t 10”);
Thats good to know.
I assume you then don’t need anything from the system menu for the time being. Let me know in case you need some info thats not yet in the API.
I have no experience with shutting down windows from the script.