FooSoft / yomichan

Japanese pop-up dictionary extension for Chrome and Firefox.
https://foosoft.net/projects/yomichan
Other
1.05k stars 208 forks source link

[Feature Request] AutoHotKey #2052

Open TheoHiwo opened 2 years ago

TheoHiwo commented 2 years ago

Hi, as always thank you very much for yomichan. Is there a way to detect when my cursor is on a popup? image When using a window spy, he detects only chrome. Still, I would like to bind shortcuts using autohotkey when my cursor is on a popup using a condition like ( #IfWinActive, ahk_ "yomichan's popup"). I can use a yomichan's shortcut (ex: alt+down/up) only when I have clicked a popup.

toasted-nutbread commented 2 years ago

There is no good way to accomplish this currently. The best way might be by exposing some events in an eventual Yomichan API #1649 which could be hooked into.