[request] option to lock mouse movement+click to prevent user from interrupting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Confirmed
|
Undecided
|
RaiMan |
Bug Description
Update 2020-03-01 *** tracked on Github: https:/
There will never be such an absolute solution available (block user actions).
Only some filter and detection for user actions will be available maybe with user callbacks, to be at least be able to ignore actions initiated by the real mouse and real keyboard.
based on: https:/
-------
Hallo. Sikuli is a great project and it is fun working with it but there is something that bothers me and I wonder why noone else ever asked this question bevore (at least I couldnt find something similar over the search function).
Sikuli works pretty good but there is a big disadvantage making it pretty unstable for proper scripts: The mouse doesnt lock up when a script is running - so it is possible that the user will move the mouse during a critical period causing the whole script to "crash". So my question is - is there a way to lock up the mouse/keyboard during the execution of a script so the user cannot cause trouble by moving the mouse or other input?
If there is no standart for it in Sikuli - any suggestions to solve this matter?
+@developers It there is no general option for that - would it be possible to implement one?
summary: |
- No option to lock mouse movement+click to prevent user from interrupting + [Request] option to lock mouse movement+click to prevent user from + interrupting |
summary: |
- [Request] option to lock mouse movement+click to prevent user from + [request] option to lock mouse movement+click to prevent user from interrupting |
Changed in sikuli: | |
status: | Triaged → In Progress |
assignee: | nobody → RaiMan (raimund-hocke) |
tags: | added: fkt-region |
Changed in sikuli: | |
importance: | Wishlist → High |
milestone: | none → x1.1 |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
Changed in sikuli: | |
milestone: | 1.1.0 → 1.2.0 |
description: | updated |
Changed in sikuli: | |
status: | Fix Committed → Won't Fix |
importance: | High → Undecided |
milestone: | 2.0.0 → none |
Changed in sikuli: | |
status: | Won't Fix → In Progress |
importance: | Undecided → Medium |
milestone: | none → 2.0.0 |
description: | updated |
Changed in sikuli: | |
importance: | Medium → Wishlist |
milestone: | 2.0.0 → 2.1.0 |
Changed in sikuli: | |
importance: | Wishlist → Medium |
description: | updated |
Changed in sikuli: | |
status: | In Progress → Confirmed |
importance: | Medium → Undecided |
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. WaitUntilMouseI dle