Skip to content

oleg-work/ScreenCaptureTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScreenCaptureTools

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.

Tools description

  1. ScrnToText – converts any text visible on your screen into text on your clipboard.
  2. ScrnToFile – takes a screenshot that you can paste directly into the Finder application as a file.

Installation

sudo bash install.sh

Workflow

You can find different ways to use these scripts in the macOCR repository.

TODO

  • When pressing Escape, a 0x0 image is currently created. Instead, the script should simply exit without throwing an error.

FIX

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:

Alternative and related projects

About

1. capture screenshot and copy the image file to the clipboard; 2. extract text from screenshot via OCR and paste it to the clipboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors