Active Window Screenshot Capture

Discussion in 'Mac Programming' started by ruhi, Nov 6, 2009.

  1. macrumors member

    Joined:
    Jun 17, 2009
    #1
    Hello,

    I need to capture active window screenshot ignoring all background window even desktop.

    SonOfGrab example shows screen capture but i need it for only the active window screen

    What can be done?

    Thanks,
    Ruhi.
     
  2. macrumors P6

    Peace

    Joined:
    Apr 1, 2005
    Location:
    Space--The ONLY Frontier
    #2
    Appplications > Utilities > Grab

    Capture window.
     
  3. macrumors Core

    Joined:
    Jun 16, 2004
    #3
    or

    Command + Shift + 4 then hit Spacebar

    a camera will appear then click on the window you want.
     
  4. thread starter macrumors member

    Joined:
    Jun 17, 2009
    #4
    Active Window Screenshot Capture

    Hello,

    Thanks,

    But i need to do it by cocoa without user selection.

    I need to take screenshot of active window in regular intervals automatically in objective-C programming or some apple script.

    Thanks,
    ruhi
     
  5. macrumors 6502

    Joined:
    Sep 18, 2009

Share This Page