> Is there a way to > create an image that runs a given method when double-clicked? > > You can add a class to the startup list: > SystemDictionary>>#addToStartUpList: will do that. The > class is > required to understand the #startUp: message, which will be sent to it > when the image is loaded and started. #startUp: accepts a Boolean > telling it whether the image is resuming (newly started). > > Would you say this is the most common way to deploy a Smalltalk application > to users, at least with Squeak?
I think most people just save the image before distribution. Since the image is the application in its running state, that works. I think of the above as being more for scripting. _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners