zsims / hunt-and-peck

Simple vimium/vimperator style navigation for Windows applications based on the UI Automation framework.
621 stars 54 forks source link

Support double click #23

Open Leoongithub opened 4 years ago

Leoongithub commented 4 years ago

Is it possible to support double click, right click, middle click and so on by using different hotkeys or CLI options?

And during typing mutiple characters, it would be better if the matcthing labels are highlighting or others are hidden.

liuxilu commented 4 years ago

Not within UIAutomation

LexiconCode commented 3 years ago

This is really needed for full navigation.

Not within UIAutomation

There could be a workaround though using screen coordinates and emulating mouse clicks. Here's an example of an implementation. This project is my 1st foray into C# so I might not be able to pull off implementing it.

One question is what would the user experience be like with this implemented? Simply appending a integer at the end could denote n clicks but defining left/right/middle is something to be discussed.

adrianhajdukiewicz1 commented 1 year ago

We can point the mouse cursor to selection (it is possible, draft is here: https://github.com/adrianhajdukiewicz1/hunt-and-peck/pull/5#) and then map built-in MouseKeys Windows feature to different keys (using AutoHotKeys maybe?). MouseKeys is a feature that allows steering the mouse with the keyboard only (e.g. by clicking a combination of buttons you perform right mouse click).