Running code on image startup
Todd Blanchard
tblanchard at mac.com
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 gmail.com> 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 -- http://mtfulmer.wordpress.com/
> Help improve Squeak Documentation: http://wiki.squeak.org/squeak/808
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080129/fd8af7f6/attachment.htm
More information about the Squeak-dev
mailing list
|