L
L
leham12020-06-19 00:37:32
Windows
leham1, 2020-06-19 00:37:32

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

2 answer(s)
H
hint000, 2020-06-19
@hint000

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.

Z
Ziptar, 2020-06-19
@Ziptar

Locking a user session does not terminate processes within the session, including GUI applications. What's the question?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question