talonvoice / talon

Issue Tracker for the main Talon app
85 stars 0 forks source link

Ability to send key presses to non-active window #457

Open AndreasArvidsson opened 2 years ago

AndreasArvidsson commented 2 years ago

Nowadays I use a lot of browser based conferencing services that have no support for global hotkeys. It would be nice if talon could send key presses to the browser even if the browser is not the active application/window.

lunixbochs commented 2 years ago

Which OS?

AndreasArvidsson commented 2 years ago

Primary win10 but also Linux if possible.

lunixbochs commented 2 years ago

It's possible to do this sort of thing, but it's janky, OS specific, and app specific. Basically you need to post fake input events directly to the window's message queue, which is totally different from our normal method of input sim. I'll look into it.

AndreasArvidsson commented 2 years ago

Okay Firefox is my browser of choice. Thanks!

lunixbochs commented 2 years ago

I think you've duplicated this in #464, closing that one