Command line not coping content to clipboard
Quickly OCR part of the screen and save resulting text to clipboard
Brought to you by:
cb4960
Hello, I'm trying to use screen rect to get text from the screen using command line, tried to debug image and output to a txt file and looks just fine, but if I take out the output it doesnt copy to my clipboard. i'm using Windows 10, I'm trying to use it directly with autoHotKey, so it would be nice to use the clipboard as direct variable connection between the two programs instead of having to make a macro to copy and paste the content to AutoHotKey
Hi. I am having the same problem. I can save results to text file and then read from that file using FileReadLine (don't need a macro), but it would be nicer to avoid having to use a text file as an interim. Thanks- great program.
Version 3.7 works from CLI. The command is a little different - Capture2Text.exe x1 y1 x2 y2 but it will copy to clipboard
Do you mean Version 3.7 onwards works from the CLI? I'm having no luck with the latest version. (I'm actually running it from AHK via the RunWait command. I can manage to save it to a .txt file as mentioned, but I can't get it to save to the clipboard.)
I'll create an option to copy OCR results to clipboard via command line.
Any idea of an ETA for that, Christopher? Thanks!
Added CLI option --clipboard.
COOL! I'll try it out now. THANKS!