How to get screenshot only external monitor

applescriptscreen capture

I there any way to screenshot only external monitor screen?

do shell script "screencapture -x " & shot_path

Best Answer

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