2019-10-13 14:58:34 +01:00
|
|
|
# screencapture
|
|
|
|
|
|
|
|
> Utility to take screenshots and screen recordings.
|
2021-11-02 13:02:04 +00:00
|
|
|
> More information: <https://ss64.com/osx/screencapture.html>.
|
2019-10-13 14:58:34 +01:00
|
|
|
|
|
|
|
- Take a screenshot and save it to a file:
|
|
|
|
|
|
|
|
`screencapture {{path/to/file.png}}`
|
|
|
|
|
|
|
|
- Take a screenshot including the mouse cursor:
|
|
|
|
|
|
|
|
`screencapture -C {{path/to/file.png}}`
|
|
|
|
|
|
|
|
- Take a screenshot and open it in Preview, instead of saving:
|
|
|
|
|
|
|
|
`screencapture -P`
|
|
|
|
|
|
|
|
- Take a screenshot of a selected rectangular area:
|
|
|
|
|
|
|
|
`screencapture -i {{path/to/file.png}}`
|
|
|
|
|
|
|
|
- Take a screenshot after a delay:
|
|
|
|
|
|
|
|
`screencapture -T {{seconds}} {{path/to/file.png}}`
|
|
|
|
|
|
|
|
- Make a screen recording and save it to a file:
|
|
|
|
|
|
|
|
`screencapture -v {{path/to/file.mp4}}`
|