Roberto Minelli-3 wrote
Is there any way to specify an order or priority of StartupAction?
The startup action framework is an awesome tool to set up one's images automagically. And... working with script files sucks! I use a minimal script to load a Metacello project with my actual startup logic. It never changes, so instead of hand-editing scripts, I do all that work in the image with the full power of the environment. This is the whole script: StartupLoader default executeAtomicItems: { StartupAction name: 'Load DeNigrisPreferences' code: [ Gofer it url: 'http://smalltalkhub.com/mc/SeanDeNigris/DeNigrisPreferences/main'; package: 'DeNigrisPreferences-Core'; load. ] runOnce: true. }. The code is public. While it's fairly specific to my workflow, it may serve as inspiration. The trickiest part was that the code couldn't depend on Metacello (I don't remember why. This may have been when not all platforms had Metacello pre-installed. Actually, I think I'll try using Metacello now!). HTH. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Order-priority-of-StartupAction-tp4804596p4804645.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.