Ah! I wish I had seen that months ago. Not sure how I missed it or forgot about it.
On the one hand, yes … they do effectively the same thing: “select an area, screenshot it, OCR it, save OCR to clipboard.”
On the other hand…my variation also saves the screenshot to a temporary file in case you decide that you want it for some reason, and it also tries to be smart about what to do if you hit esc which cancels the screencapture command.
So they do the same thing but mine has a few extra auxiliary features around.
Jeez… I could have been using that other one for the past year, though. Bummer.
Hey tjluoma, really appreciate you sharing this, I've found this super useful. Apologies if this is a newbie question, but I'm wondering if there is a way to capture a pre-selected boundary for the screenshot (I want to grab a specific area of the screen, convert the image to text, and then copy to clipboard). My gut says I would need to change the /usr/sbin/screencapture -i -c in the shell script, but I'm not 100% sure. Any suggestions?