Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Define which part of the screen gets recorded #49

Open
1 of 3 tasks
katieisnell opened this issue May 20, 2020 · 1 comment
Open
1 of 3 tasks

Define which part of the screen gets recorded #49

katieisnell opened this issue May 20, 2020 · 1 comment

Comments

@katieisnell
Copy link

Feature Request Type

  • Core functionality
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

A simple setting which changed which part of the screen is going to be recorded could be implemented. I would like to have the 3 options that are offered by the native screen recording tool:

  1. Capture entire screen (including menu bar)
  2. Capture selected window
  3. Capture selected portion
@mre mre added the feature label May 21, 2020
@mre
Copy link
Owner

mre commented May 28, 2020

That's a great idea @katieisnell.

screencapture has an option for capturing a rectangle:

-R<x,y,w,h> capture screen rect

So we could use that.
Problem is that I don't know how we want the window portion to be selected interactively.
Was thinking to run the first screencapture with screencapture -i to get an interactive rectangle for that and use the selected rectangle for subsequent screenshots with the -R flag above. Unfortunately screencapture does not output the rectangle that was captured. Ideas welcome.

Our screenshot code is here if you or anyone else wants to have a try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants