<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 8/1/21 1:58 AM, Juan Vuletich wrote:<br>
</div>
<blockquote type="cite" cite="mid:6105E39A.5010900@jvuletich.org">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Hi Nicola,<br>
<br>
On 7/31/2021 12:24 PM, Nicola Mingotti via Cuis-dev wrote:
<blockquote
cite="mid:88696d0b-56ae-0237-ba8c-a92029e66e71@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<br>
Hi Juan,<br>
<br>
<br>
<blockquote type="cite"
cite="mid:6105473F.4040006@jvuletich.org">
<blockquote
cite="mid:7a2c9a80-15fe-fdf6-3867-49db2615d9a0@gmail.com"
type="cite"><font size="+1"><font face="monospace"> 3] Since
I am automatizing the system via script I would prefer
that when<br>
I select World -> Quit the system stop asking me if I
want to save the image,<br>
by default I don't want. Is there a variable the say
that ? Or do I need to make<br>
a change, file it out and file it in in the '.st' file ?
<br>
<br>
</font></font></blockquote>
<br>
If you are doing it via code, just call
#snapshot:andQuit:clearAllClassState: yourself. If you want a
new / different menu option, just add it. See senders of
#quitSession<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
</pre>
</blockquote>
<br>
Ok for the code, I can for sure add a entry menu, It should not
be difficult.<br>
<br>
But i have a suggestion. Since the CuisBook recommends, as good
practice, not to save the image<br>
I would say it would be nice for the system to have a global
variable like<br>
"#saveImageOnQuit" set to true by default.<br>
<br>
Then, when i user is experienced enough to have all the Git
things set up he can just<br>
toggle the value of the variable via script at image boot and
have the system behave as recommended<br>
by the book. Reference to that variable should be in the book in
paragraph 9.5.1.<br>
<br>
I can try to implement this myself if you guys think is a nice
feature to have.<br>
<br>
bye<br>
Nicola<br>
</blockquote>
<br>
Yes, that makes sense. Please go ahead. Make it selectable by
something like<br>
<br>
Preferences enable: #askForSaveOnQuit<br>
Preferences disable: #askForSaveOnQuit<br>
<br>
default to true.<br>
<br>
Thanks!<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
</pre>
</blockquote>
<br>
Thak you Jaun. ok, I will do it ! :)<br>
<br>
<br>
bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>