Running code on image startup

Todd Blanchard tblanchard at
Tue Jan 29 23:14:42 UTC 2008

You have to add your class to the startup list.

search for senders of addToStartUpList:

You'll find they are usually class side initialize methods and that  
those classes also implement class method startUp - which is called  
after an image is opened.

There is a corresponding shutDown list as well.

On Jan 29, 2008, at 2:52 PM, David Zmick wrote:

> i want to do a similar thing, except, i want my image to run  
> roundUpStrays on startup, how do i do that?
> On Jan 28, 2008 10:14 PM, Matthew Fulmer <tapplek at> wrote:
> On Mon, Jan 28, 2008 at 07:15:24PM +0000, Keith Hodges wrote:
> > LevelPlayingField is designed to work on all images including the  
> XO. I
> > havent tried it yet but Matthew has.
> Works great. Etoys-2.3 with LPF is the only image I am using
> right now, and the one I am building DeltaStreams with. I made a
> couple of fixes to Installer and Monticello so that LPF loads
> cleanly on etoys images. It still asks if you want to update
> SqueakMap, though.
> --
> Matthew Fulmer --
> Help improve Squeak Documentation:

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Squeak-dev mailing list