mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
2.6 KiB
2.6 KiB
Current Situation
GoldenDict did offer a functionality to translate the word under cursor(when scan popup been enabled) on Windows. the technique used there is old and can not work crossplatform .
with the help of another great tool Capture2Text ,GoldenDict can work with ocr seamlessly.
Note
Capture2Text has offered Windows precompiled executable files.I think it would be easier and possible to make it work on Linux as some afforts have tried.
Configuration on Windows
after installation of both software. configure the Capture2Text ,see screenshot following
configure external Call Executable
path (Windows for example)
path\GoldenDict.exe "${capture}"
configure hotkey
configure First word only
without this configuration ,it will capture the last word of
Use it
place the cursor on the word (can be on the image ),press
- Win+W to capture the first word.
- Win+Q select rectangle.
result:
use Capture2Text on Linxu
download and build the capture2text
https://github.com/xiaoyifang/Capture2Text
settings
start capture
Ctrl+Shift+Q
end capture
press Ctrl+Shift+Q
again.