![]() |
проверка выключается ли пк
|
up
|
Погуглив информацию нашел об этом:
detecting if a Windows shutdown command has been issued Is it possible to detect if the shutdown command has been issued (through the start menu by the user, or any other program running on the computer or having remote access to the computer), then can... superuser.com То есть ты каким-либо внешним приложением, тем же питон скриптом, ловишь событие WM_QUERYENDSESSION, и понимаешь, что был вызван процесс завершения ПК. |
| Время: 13:29 |