How to clean automatic quit?

How can I have an automatic notebook quit without the save / not save panel appearing?

Maybe NotebookClose and NotebookSave can help.

Uncheck ClosingSaveDialog in the Option Inspector

< Uncheck ClosingSaveDialog in the Option Inspector >

Perfect!, thanks.