Running code on image startup

Luke Gorrie lukego at gmail.com
Mon Jan 28 08:47:01 UTC 2008


Howdy!

I'd like some morphs to update themselves when the image is started,
but I don't see a convenient "image started" hook to attach to.
Can someone suggest a way?

(The morphs are supposed to present a directory based on the files in
some directory and I want to be able to maintain those files
separately from the image.)

Hacking SmalltalkImage>>snapshot:andQuit:embedded: is tempting but
perhaps excessively kludgy. :-)

Cheers,
-Luke





More information about the Squeak-dev mailing list