reseting inspector value automatically

can we reset the inspector automatically through scripting

I'm not sure what you are asking. Here is my best guess as to what you need.

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.Reset.html