Like Zoomerator this allows you to pan and scan within the current camera view. Handy when using image planes and you need to see a close up of the image plane without ruining your camera lineup.
Unlike Zoomerator it allows you to adjust it as you would tumble, track or dolly the camera in Maya.
Use LMB to zoom and MMB to pan.
CTRL + LMB (click) to reset view.
SHIFT + LMB (click) to store view.
SHIFT + MMB (click) to goto stored view.
Put the mel script in the mel scripts directory within your Maya User directory.
The default location for this directory is...
drive:\Documents and Settings\username\My Documents\maya\version\scripts
drive:\Documents and Settings\username\My Documents\maya\scripts
Setup a hotkey or shelf button with the following piece of code and then run it...
-pressCommand "float $ovshfavfa = getOverscan();"
-dragCommand "panandtrackDrag($ovshfavfa, $ovshfavfa, $ovshfavfa)"