views:

55

answers:

1

I'd like to add stuff to run at the beginning of a pharo image start-up. Nothing fancy just a call to a class method that is an entry point to my application. I can't find any guides to making smalltalk scripts at startup. Alternatively are there any method which you can add stuff to be done at image startup?

+5  A: 

Squeak has a built-in mechanism that will notify selected classes that an image has just been launched. This page explains how to do this. It should also work in Pharo.

Vijay Mathew
Thanks this seems to be what I'm looking for,For people looking at this at some point past 2010 it does look like they might change it in the future though(http://code.google.com/p/pharo/wiki/StartupAndShutdown).
Roman A. Taycher