Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow unattended silent screenshot of given rect #2

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

martin-braun
Copy link

Fixes schappim#35

Allows to specify a rectangle section via args when capturing a screenshot, i.e. -c -r 1000,1000,100,50 will snap a screenshot 100x50 at location 1000,1000 and perform its OCR operation on it.

The mode is designed for unattended script usage, thus -x is also passed to screencapture to disable any sound playing.

@adam-zethraeus
Copy link
Owner

love it. thanks @martin-braun

@adam-zethraeus adam-zethraeus merged commit 9afd193 into adam-zethraeus:main Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Specify X, Y, W, H via argument (unattended mode)
2 participants