Answer the question
In order to leave comments, you need to log in
Is it possible to lock the computer while working with the graphical interface?
I work with a graphical interface (for example, the pyautogui library). Previously, I worked through a virtual machine, there were no problems with blocking. Switched to the real one for better performance.
Is it possible to somehow lock the computer, but so that the work of the program with the graphical interface does not stop?
Answer the question
In order to leave comments, you need to log in
An interesting question, but I'm afraid that all options will be crutches with their own shortcomings. Judge for yourself: input-output must be blocked and not blocked at the same time (usually this is how tasks in TRIZ begin, hehe).
But it is necessary to offer at least one such crutch. This is RDP. Locally the computer is blocked, but there is access via RDP. The main task runs on real hardware, but the control task (pyautogui) can run on a virtual machine and connect to the main one via RDP. After all, speed is not critical for the controller, is it? But I do not know the capabilities of pyautogui, I need to figure out if there are any obstacles for such a scheme.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question