3

I there any way to screenshot only external monitor screen?

do shell script "screencapture -x " & shot_path
2
  • A little more information would help. Are you trying to take a screen shot of the whole screen or just a window?
    – Stephen
    Commented Jun 10, 2013 at 19:51
  • 1
    If you register one of your accounts we can merge them for you. We also have a self-service merging tool here: apple.stackexchange.com/help/account
    – bmike
    Commented Jun 10, 2013 at 20:13

4 Answers 4

1

Manually, you can always use Cmd + Shift + 4 and select the area you want.

OR

For Applescript, check out this post: https://stackoverflow.com/questions/8764072/screen-capture-with-applescript

set imagePath to (path to desktop as text) & "screenCapture.png" do shell script "screencapture -mx -T0 " & quoted form of POSIX path of imagePath

0
1

Cmd + Shift + 3 takes a screen shot of the whole screen!

1
  • 1
    The question was how to "screenshot only external monitor screen." Cmd + Shift + 3 captures both screens.
    – pknz
    Commented Jun 10, 2013 at 21:56
1

If it's the main display, you could use screencapture -m. Or if you know its coordinates, screencapture -Rx,y,w,h (rect) captures a specified area.

-R is only shown in the help message and not on the man page.

system_profiler SPDisplaysDataType shows information about connected displays. osascript -e 'tell app "Finder" to bounds of window of desktop' shows the combined dimensions of displays.

0

Use Cmd + Shift + 4 and select all the screen.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .