<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Corbel;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 129.75pt 1.0in 129.7pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Hi Lou,<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>See: <o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>SmalltalkImage &gt;&gt; snapshot: save andQuit: quit embedded: embeddedFlag<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>What you are looking for is #startUp. <o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Register your class with: <o:p></o:p></p><p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Smalltalk addToStartUpList: self <o:p></o:p></p><p class=MsoPlainText>Or:<o:p></o:p></p><p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Smalltalk addToStartUpList: self after: CPlatform.&nbsp; &#8220;this is an example, but if you have a particular order this is useful&#8221;<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>You can remove your class with:<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Smalltalk removeFromStartUpList: self.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Then you just need to implement the #startUp method on your class to handle refreshing the date.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>Hope that helps.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoNormal>All the best,<o:p></o:p></p><p class=MsoNormal><span style='font-size:14.0pt'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:14.0pt;font-family:"Corbel","sans-serif";color:#4F81BD'>Ron Teitelbaum<o:p></o:p></span></b></p><p class=MsoNormal><i><span style='font-size:9.0pt'>Head Of Engineering<o:p></o:p></span></i></p><p class=MsoNormal><b><span style='font-size:9.0pt'>3d Immersive Collaboration Consulting<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:8.0pt'><a href="mailto:ron@3dicc.com">ron@3dicc.com</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt'>Follow Me On Twitter: <a href="https://twitter.com/RonTeitelbaum">@RonTeitelbaum</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt'><a href="http://www.3dicc.com/">www.3dicc.com</a> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt'><a href="https://plus.google.com/u/0/b/108936249366287171125/108936249366287171125/posts">3d ICC on G+</a><o:p></o:p></span></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>&gt; -----Original Message-----</p><p class=MsoPlainText>&gt; From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-</p><p class=MsoPlainText>&gt; bounces@lists.squeakfoundation.org] On Behalf Of Louis LaBrunda</p><p class=MsoPlainText>&gt; Sent: Thursday, February 28, 2013 4:38 PM</p><p class=MsoPlainText>&gt; To: squeak-dev@lists.squeakfoundation.org</p><p class=MsoPlainText>&gt; Subject: [squeak-dev] Running process after image save/stop/restart</p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; If a process is running when an image is saved, is the process stopped at any</p><p class=MsoPlainText>&gt; point in particular?</p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; If the saved image is started, is there any way the process can tell?</p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; I'm running a process that keeps running for a look time.&nbsp; It loops with a delay</p><p class=MsoPlainText>&gt; and in the loop gets the date and time.&nbsp; If the date and time were obtained just</p><p class=MsoPlainText>&gt; before the save, they would be old at the time of the image restart and need to</p><p class=MsoPlainText>&gt; be refreshed.</p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; Lou</p><p class=MsoPlainText>&gt; -----------------------------------------------------------</p><p class=MsoPlainText>&gt; Louis LaBrunda</p><p class=MsoPlainText>&gt; Keystone Software Corp.</p><p class=MsoPlainText>&gt; SkypeMe <a href="callto://PhotonDemon"><span style='color:windowtext;text-decoration:none'>callto://PhotonDemon</span></a></p><p class=MsoPlainText>&gt; <a href="mailto:Lou@Keystone-Software.com"><span style='color:windowtext;text-decoration:none'>mailto:Lou@Keystone-Software.com</span></a> <a href="http://www.Keystone-Software.com"><span style='color:windowtext;text-decoration:none'>http://www.Keystone-Software.com</span></a></p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText>&gt; </p><p class=MsoPlainText><o:p>&nbsp;</o:p></p></div></body></html>