timelapse
timelapse copied to clipboard
Define which part of the screen gets recorded
Feature Request Type
- [x] 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:
- Capture entire screen (including menu bar)
- Capture selected window
- Capture selected portion
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.