-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double click #373
Double click #373
Comments
@s1hofmann any advice? |
Unfortunately nut.js does currently not expose a dedicated double-click method which would be required for macOS. |
Do you think It will be implement soon? I was thinking of nut as a replacement for robot.is but the lack of double click or drag won’t allow us thanks a lot |
Hi @ricardopolo 👋 To be honest, this has a rather low priority at the moment. |
Thanks @s1hofmann. I hope in the mid term this library could be a full replacement of RobotJs. You are doing a great library!! |
I'll give you a ping in here once it's available |
/cc @ricardopolo You can give
|
I'm trying to use this doubleClick feature and it seems to only perform a single click. I'm running inside electron, on MacOS, in the 'main' area.
Any thoughts on what might be wrong? |
Hi @adamjerickson 👋 I just did a double check and confirmed that double clicking is working as expected on my macOS machine. |
The app I'm building this into is on node 16.14.2 with same version of electron. Do you have an easy way to test with that version of node? Otherwise I'll try to bootstrap something. |
I did another test with Electron 16.2.8 which worked flawlessly. |
Okay, thanks. Must be something in my code. I'll dig deeper. Thanks. |
The simple reason for this is to shift the focus away from the Electron window. Without it the double click on the icon wouldn’t work, because one of the clicks would first shift the focus. |
@s1hofmann maybe you can this in the documentation. I too had similar problem and first doing a click and then doubleClick worked. Thanks! |
I'm trying to simulate a double click in mac. In RobotJs I use the double click option http://robotjs.io/docs/syntax#mouseclickbutton-double
what can I use for doing a double click in Nutjs?
I tested sending two click events on after each other and I does not work
Thanks
The text was updated successfully, but these errors were encountered: