If I call screencapture -R460,250,350,500 ~/Desktop/screenshot.png
from the command line, is there an option or way to tell it to take a screenshot of Desktop 2, rather than Desktop 1?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityIf I call screencapture -R460,250,350,500 ~/Desktop/screenshot.png
from the command line, is there an option or way to tell it to take a screenshot of Desktop 2, rather than Desktop 1?
man screencapture
, the -D option should capture or record from the display specified (1 - main display, 2 - secondary, and so on.) Example: screencapture -D2 -R460,250,350,500 ~/Desktop/screenshot.png should capture from the second display. Unfortunately it doesn't work!