Capture screenshot of active window on Mac OSX using Path Finder

Ever wondered about the most efficient way getting the screenshot of a window on using Path Finder. Mostly, I always use the CMD+SHIFT+3 function to drag a portion of the screen and save it as a screenshot,
But let's say you want to get a screent of an exact window, the above drag method isn't perfect or optimal.
Surprisingly, I didn't experiment with this functionality earlier, but it's already available in Pathfinder.
Simply press CMD+SHIFT+4 followed by SPACE. And, it gives you with a camera icon to highlight the window to capture. Just click on the camera icon on the window you want to capture and you're all set ... the screenshot of the chosen window is available on your desktop folder.