Now: Tutorial for Web and Software Design > OS > Mac > OS Content
> Screenshot Hacks for Mac OS X [Bookmark it]
Screenshot Hacks for Mac OS X

Screenshot Hacks for Mac OS X

Using screencapture in the Terminal App.

The Terminal application comes with a command-line screen capture utility known as screencapture.



This utility provides capabilities similar to those of Grab. To use it, invoke the Terminal window and type screencapture to see the various options supported:

screencapture

screencapture: illegal usage, file required if not going to clipboard

usage: screencapture [-icmwsWx] [file] [cursor]

  -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

  file    where to save the screen capture

To capture the entire screen, type:

screencapture imagefilename.pdf

The image will be saved as imagefilename.pdf.

To capture the screen interactively, type:

screencapture -i imagefilename.pdf

and:

  • Press the Control key to copy the screen to the clipboard (and Command-V to paste the captured image into your application), or
  • Press the Space key to toggle between capturing a window (Figure 12) and a region (Figure 13).

Screen shot.
Figure 12. Capturing a screenshot of a window.


Screen shot.
Figure 13. Capturing a screen shot of a region.

Wrapping Up

As you can see, there are many options in Mac OS X for capturing images from your screen and saving them to your hard disk. For most tasks, the free utility Grab or enabling screencapture in the Terminal application should suit your needs. But if you want that professional touch, or are interested in audio/video capture, then take a look at the $49 version of Snapz Pro X.

Wei-Meng Lee (weimenglee.blogspot.com) is a technologist and founder of Developer Learning Solutions, a technology company specializing in hands-on training of the latest Microsoft technologies.

Derrick Story is the digital media evangelist for O'Reilly, as well as the author of Digital Photography Hacks and Digital Photography Pocket Guide. You can listen to his photo podcasts and read his tips at The Digital Story.


Return to Mac DevCenter.

Prev  [1] [2] [3] 

[Bookmark][Print] [Close][To Top]
  • Prev Article-OS:

  • Next Article-OS:
  • Related Materias
    How to Deploy Software Usi
    Mastering Windows New Fire
    Creating Visual Studio Pro
    Better Registry Searching
    Using Data Compression in 
    How to Remove Startup Prog
    Registry Hacks for Servers
    How To Recover from Regist
    The Ultimate Free Windows 
    IIS7 Revealed
    Topics
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Graphic Design Tutorial
     

    Coreldraw Tutorial

      Illustrator Tutorial
      3D Graphics Articles
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial&Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial&Articles
     

    XML Style Tutorial

      AJAX Tutorial
      XML Mobile
    Flash Tutorial&Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial&Articles
     

    Linux Tutorial

      Symbian Tutorial
      MacOS Tutorial