3D View reset Gizmo/Fly cam

 From:  stefano (LIGHTWAVE)
11994.4 In reply to 11994.3 
if the object or gizmo is named i think using command line and/or scene browser with reset view is very fast...
it could be 10km away i would search for "gizmo" or "object name" (direct in the command line, by pressing tab and typing)
then type "reset" if you have a script to do that, or use a shortcut key.

you can use options>shortcut key:
moi.view.resetAll();

i personally prefer to use command line searches or actions at moment
so i created a very complex script and saved it with filename reset.js
and put in commands folder...

code:
moi.view.resetAll();