app.setSavePreferencesOnQuit(doSave)
Description
Set or clears the flag that determines whether preferences are saved when the application is closed.
Parameters
doSave When true, preferences saved on quit, when false they are not.
Returns
Nothing.