Consider how you can completely block the mouse in the Windows operating system. To do this, with the help of autoit, I prepared a small script. Which subsequently compiled into an exe file. I double-click on it, and as you can see, the cursor on the screen immediately freezes, and the keys on the mouse become inactive. The keyboard is in working order. In order to unlock the mouse, just press the F1 key. You can also limit the work of only the keys on the mouse using this script. In this case, I launch the exe file created on its basis. You can see that the cursor moves, but nothing can be launched. Removing the restriction here is also implemented by pressing F1. If you are interested in learning how to block the keyboard and mouse at the same time, then you can find out about it on the channel.
23 июн 2023