Grabviewport

UPDATES//
03/31 Update2: Added a Nodialog option that uses the last settings . Enable by shift+clicking the grabviewport button
03/31: Fixed camera Deletion with zdepth and fixed version check in some places
01/20: Fixed attempting to acces deleted scene object error
01/15: Fixed scenes folder undefined error
01/14: Fixed pre max 2010 error message
01/07: Fixed "Active Time Range" Png alpha animation bug
01/06: Fixed Ratio Bug
01/04: Added Alpha for PNG Animation

Grabviewport is a FREE MaxScript that enables you to take High Resolution Screenshots of your 3ds Max Viewport. It also offers you the options to capture animations as well as multiple passes that can later be used for compositing your final presentation image.

http://leslievdb.com/grabviewport.htm
| Attachment | Size |
|---|---|
| grabviewport2.mcr | 52.73 KB |

Comments
i think i just found what
i think i just found what causes this, do you have the ribbon or maybe another toolbar docket to the left side of your screen?
i use max2012x64
i use max2012x64 and as soon as try to change resolution manually even for 1 pixel - height and width appears equal. if i enable crop - viewport keep original viewport dimensions with empty area from the right-top
Normally it should scale
Normally it should scale according to your viewport ratio.
However if you enable the crop function it will scale according to your renderproperties (safe frames) ratio.
Or are you getting a ratio of 1 all the time?
manual resolution issue
manually i can only set same width and height. is it bug or feature?
Small update
Did a very minor tweak to the script so it doesn't show the gizmo anymore when in zdepth mode. This seemed to be a problem in some max versions.
also when an object doesn't have a material it will now not keep the color in the zdepth pass
Updated Script available below