Auto save before quit

hello,

i put a little quit button in my renderer.
when pushing this button the patch should save automatically and quit vvvv.
how is it possible to automatically! save a patch before it quits?

i don’t wanna open the whole row of save/don’t save/bla options before quitting.
it should just do it on it’s own.

i tried to use onquit, doquit, etc. also tried to use the keyboard nodes to trigger the shortcut ctrl+s but somehow it does not work. this would be nice if i could just simulate ctrl+s…

btw. in Keyboard(System Global).v4p is a Keyboard (System Global Legacy) node…

any solution would be cool.
best,
a

SetPatch (VVVV) is the solution: