Warning
This plugin is archived. It still works and can be repurposed for CLI processing of files, but I archived it because I was unable to resolve macOS (15.6.1) Screen Recording permission issues. These problems and relevant links are described in the FIX section.
ScrnToText– converts any text visible on your screen into text on your clipboard.ScrnToFile– takes a screenshot that you can paste directly into theFinderapplication as a file.
sudo bash install.shYou can find different ways to use these scripts in the macOCR repository.
- When pressing Escape, a 0x0 image is currently created. Instead, the script should simply exit without throwing an error.
My workaround was to grant Screen Recording permissions to a single application and make sure that application is focused whenever I want to take a screenshot. Otherwise, you need to grant Screen Recording permissions to each application individually.
- For example, give permissions to a note-taking app. Then, while watching a YouTube video, you can take a screenshot by focusing the note-taking app and triggering the tool.
Relevant links: