nut.js icon indicating copy to clipboard operation
nut.js copied to clipboard

Is it possible to interrupt a mouse/keyboard series of commands? [Without quitting the program?]

Open i-am-jabriel opened this issue 1 year ago • 1 comments

Is it possible to interrupt a mouse/keyboard series of commands?

I am looking to build some automation software, but I want to have a simple way for users to override the automation.

The issue i am running into is that if I am in the middle of a type command or mouseMove command I will now have to fight the code to even move my mouse. Which is especially problematic if the issue I am trying to solve is time sensitive.

Is there way to achieve this forceStop/interupt action? If not any plans to implement this?

i-am-jabriel avatar Nov 22 '23 15:11 i-am-jabriel

Hi @i-am-jabriel 👋

this is planned but requires some additional work for input monitoring first. I'll keep this updated as progress is made.

Best regards

Simon

s1hofmann avatar Nov 22 '23 22:11 s1hofmann