matt-m-o / YomiNinja

Open-source OCR and dictionary tool.
GNU General Public License v3.0
288 stars 6 forks source link

[FEATURE REQUEST] Assign hotkeys to templates #55

Open Sloogs opened 3 weeks ago

Sloogs commented 3 weeks ago

I think it would be extremely useful to be able to assign hotkeys to templates and switch between them quickly. One of the ways I imagine this would be having a hotkey like Alt + 1, Alt + 2, ..., Alt + 9, Alt + 0. And then in the Template section of the program, you could assign a number to the templates you want to have on the hotkey.

YomiNinja-AssignTemplateNumbers

This would be especially useful for games where there are a few different kinds of screens and interfaces that you would want to have templates for, and where you may want to switch between them quickly.

Mordraug666 commented 4 days ago

Agree, this is indeed needed, I noticed it too while playing Metaphor. Another way would be to add a hotkey that enables you to draw custom boxes each time it is pressed, only one particular area each time that would be scanned and chosen by the user would be scanned, while the rest would be ignored. This would make it much faster to process and make it a lot less annoying. With the full screen scan it can take up to 10+ seconds to get the scan, which is really annoying to use, it's significantly faster by only scanning a portion of the screen. A lot of times we really don't need all the text on the screen scanned, we just need a particular portion. Being able to choose just the portion we want by drawing a box like with a snipping tool that resets with each new scan press would be great.