Comment 1 for bug 614456

Revision history for this message
niknah (hankin0) wrote : Re: No option to lock mouse movement+click to prevent user from interrupting

I have a similar problem. But I don't want to hijack the user's screen. Sometimes I have scripts that I want to run as fast as possible but this means the script is controlling the mouse almost always and the user is unable to do anything.

Here's a patch to pause the script's mouse moves when someone moves the mouse, when the user stops moving the mouse for 15 seconds the script will continue again.

You can change the number of milliseconds to wait after the user stops moving the mouse in edu.mit.csail.uid.Settings.WaitUntilMouseIdle