Running code on image startup
Bert Freudenberg
bert at freudenbergs.de
Mon Jan 28 12:40:49 UTC 2008
On Jan 28, 2008, at 11:44 , Luke Gorrie wrote:
> "Edgar J. De Cleene" <edgardec2001 at yahoo.com.ar> writes:
>
>> You could have some class named MyStart, with class method startUp
>> with your
>> code.
>> Then do Smalltalk addToStartUpList: MyStart in Workspace.
>
> Thanks!
>
> Is there a simple way that I could make this happen automatically upon
> either loading my code from Monticello or loading my Project file?
Sure. That's why everyone puts that call into a class initialize
method. You know about "browse senders", don't you? ;)
- Bert -
More information about the Squeak-dev
mailing list
|