Last active
October 18, 2022 13:59
-
-
Save andraaspar/0420a3d4ee2ef1772a424b3ae215da94 to your computer and use it in GitHub Desktop.
Tesseract copy result to clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 | |
for /f "tokens=*" %%a in ('dir /b /od') do set newest=%%a | |
"c:\Program Files\Tesseract-OCR\tesseract.exe" -l hun "%newest%" stdout | clip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 | |
"c:\Program Files\Tesseract-OCR\tesseract.exe" -l hun %1 stdout | clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment