Does that image have Seaside? If so, you can have a particular URL does that the save. So, then, from .bat you can do something like wget to that URL<br><br>cheers,<br><br>mariano<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 6:37 AM, Damien Cassou <span dir="ltr">&lt;<a href="mailto:damien.cassou@gmail.com">damien.cassou@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you very much<br>
<div><div></div><div class="h5"><br>
On Tue, Jun 9, 2009 at 8:01 PM, Miguel Cobá&lt;<a href="mailto:miguel.coba@gmail.com">miguel.coba@gmail.com</a>&gt; wrote:<br>
&gt; Something like this:<br>
&gt;<br>
&gt; [<br>
&gt;  [<br>
&gt;    [ 60 seconds asDelay wait.<br>
&gt;      (FileDirectory default fileOrDirectoryExists: &#39;/var/squeak/save.squeak&#39;)<br>
&gt;        ifTrue: [ SmalltalkImage current snapshot: true andQuit: false ]<br>
&gt;    ] on: Error do: [ :error | error asDebugEmail ]<br>
&gt;  ] repeat<br>
&gt; ] forkAt: Processor systemBackgroundPriority.<br>
&gt; Project uiProcess suspend.<br>
&gt;<br>
&gt; Based on a script from Ramon Leon.<br>
&gt;<br>
&gt; Miguel Cobá<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jun 9, 2009 at 12:56 PM, Miguel Cobá&lt;<a href="mailto:miguel.coba@gmail.com">miguel.coba@gmail.com</a>&gt; wrote:<br>
&gt;&gt; fork a process that sleeps maybe 10 seconds and on wake up, checks for<br>
&gt;&gt; a file named, for example,<br>
&gt;&gt; SHUTDOWN.txt in a given folder. If found then snapshot the image and quit.<br>
&gt;&gt;<br>
&gt;&gt; Then in the script create and remove the folder on demand.<br>
&gt;&gt;<br>
&gt;&gt; Miguel Cobá<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jun 9, 2009 at 12:40 PM, Damien Cassou&lt;<a href="mailto:damien.cassou@gmail.com">damien.cassou@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I would like to be able to make Squeak save the image from a Windows<br>
&gt;&gt;&gt; .bat script. Is it possible to control the VM and the image once<br>
&gt;&gt;&gt; launched?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thank you<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Damien Cassou<br>
&gt;&gt;&gt; <a href="http://damiencassou.seasidehosting.st" target="_blank">http://damiencassou.seasidehosting.st</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;Lambdas are relegated to relative obscurity until Java makes them<br>
&gt;&gt;&gt; popular by not having them.&quot; James Iry<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Damien Cassou<br>
<a href="http://damiencassou.seasidehosting.st" target="_blank">http://damiencassou.seasidehosting.st</a><br>
<br>
&quot;Lambdas are relegated to relative obscurity until Java makes them<br>
popular by not having them.&quot; James Iry<br>
<br>
</div></div></blockquote></div><br>