Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Capture multiple monitor screenshots' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Capture multiple monitor screenshots
Authored by: webbix on Jan 24, '05 04:10:11PM

I am surprised there is not a method from the keyboard but it does appear that you can select the main monitor as it is noted in the CLI.

I made an applescript to as an amusement but also to simplify some of the added options. It also comes in handy on remotely controlled machines where the screen shot command is directed to the local machine.

Here is what is available in the terminal (note the -m option)

usage: screencapture [-icmwsWx] [file]
  -i      capture screen interactively, by selection or window
            control key - causes screen shot to go to clipboard
            space key   - toggle between mouse selection and
                          window selection modes
            escape key  - cancels interactive screen shot
  -c      force screen capture to go to the clipboard
  -m      only capture the main monitor, undefined if -i is set
  -w      only allow window selection mode
  -s      only allow mouse selection mode
  -W      start interaction in window selection mode
  -x      do not play sounds
  -S      in window capture mode, capture the screen not the window
  file    where to save the screen capture

And here is the simple script I came up with that provides some feedback and reminds of options for usage.

display dialog "Capture screen or only an icon.
The highlight area shows capture.
Use 'shift' for crosshair capture.
Capture is on clipboard for paste.
ESC ends. " buttons {"OK"} default button 1
do shell script "screencapture -i -c -W"

[ Reply to This | # ]
Capture multiple monitor screenshots
Authored by: webbix on Jan 24, '05 04:12:40PM

I note now there is erroneous info in my dialog on the script as it says use the 'shift' key and that should be 'space' key. Never noticed as I am the only one who has ever used it. Sorry about that.

[ Reply to This | # ]