SHARE
TWEET

Untitled

a guest May 18th, 2018 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. SCREENCAPTURE(1)      BSD General Commands Manual         SCREENCAPTURE(1)
  3.  
  4. NAME
  5.      screencapture -- capture images from the screen and save them to a file
  6.      or the clipboard
  7.  
  8. SYNOPSIS
  9.      screencapture [-SWCTMPcimswxto] file
  10.  
  11. DESCRIPTION
  12.      The screencapture utility is not very well documented to date.  A list of
  13.      options follows.
  14.  
  15.      -c      Force screen capture to go to the clipboard.
  16.  
  17.      -C      Capture the cursor as well as the screen.  Only allowed in non-
  18.          interactive modes.
  19.  
  20.      -i      Capture screen interactively, by selection or window.  The con-
  21.          trol key will cause the screen shot to go to the clipboard.  The
  22.          space key will toggle between mouse selection and window selec-
  23.          tion modes.  The escape key will cancel the interactive screen
  24.          shot.
  25.  
  26.      -m      Only capture the main monitor, undefined if -i is set.
  27.  
  28.      -M      Open the taken picture in a new Mail message.
  29.  
  30.      -o      In window capture mode, do not capture the shadow of the window.
  31.  
  32.      -P      Open the taken picture in a Preview window.
  33.  
  34.      -s      Only allow mouse selection mode.
  35.  
  36.      -S      In window capture mode, capture the screen instead of the window.
  37.  
  38.      -t      <format> Image format to create, default is png (other options
  39.          include pdf, jpg, tiff and other formats).
  40.  
  41.      -T      <seconds> Take the picture after a delay of <seconds>, default is
  42.          5.
  43.  
  44.      -w      Only allow window selection mode.
  45.  
  46.      -W      Start interaction in window selection mode.
  47.  
  48.      -x      Do not play sounds.
  49.  
  50.      -a      Do not capture attached windows.
  51.  
  52.      -r      Do not add screen dpi meta data to captured file.
  53.  
  54.      -b      capture Touch Bar, only works in non-interactive modes.
  55.  
  56.      files   where to save the screen capture, 1 file per screen
  57.  
  58. BUGS
  59.      Better documentation is needed for this utility.
  60.  
  61. SECURITY CONSIDERATIONS
  62.      To capture screen content while logged in via ssh, you must launch
  63.      screencapture in the same mach bootstrap hierarchy as loginwindow:
  64.  
  65.      PID=pid of loginwindow
  66.      sudo launchctl bsexec $PID screencapture [options]
  67.  
  68. HISTORY
  69.      A screencapture utility first appeared in Mac OS X v10.2.
  70.  
  71. Mac OS               June 16, 2004              Mac OS
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top