Answer the question
In order to leave comments, you need to log in
How to close the program if there is a mouse movement?
There is a certain program which needs to be closed instantly if there is a movement of a mouse. How to do it ? Maybe in the Windows task scheduler there is something some kind of trigger for moving the mouse to launch the batch file to close the program, or there are some ready-made solutions.
Answer the question
In order to leave comments, you need to log in
You can try running the program as a screen saver. https://superuser.com/questions/426870/run-an-appl...
On AutoHotkey, you can periodically check the position of the pointer (see MouseGetPos ; Russian translation )
MouseGetPos x0, y0
Loop {
Sleep 1
MouseGetPos x1, y1
} Until x0 "," y0 != x1 "," y1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question