Re: [Pharo-users] Running startup scripts after the UI has finished

2015-03-18 Thread Peter Uhnák
After a lot of experimenting and unsuccessful attempts to use both defer: and addDeferredStartupAction: (because I'm probably using it wrong) I ended up with [ myCode ] fork This has not only the wanted behavior of executing after the UI has rendered, but also doesn't freeze the UI when loading e

Re: [Pharo-users] Running startup scripts after the UI has finished

2015-03-10 Thread Esteban Lorenzano
Smalltalk addDeferredStartupAction: aBlock. aBlock will be executed after startup, as the comment says: "Add the monadic or nulladic block to the list of actions that we will be performed immediately after the startup is totally executed.” and World defer: aBlock aBlock will be executed in

[Pharo-users] Running startup scripts after the UI has finished

2015-03-10 Thread Peter Uhnák
Hi, is it possible to execute startup scripts after the UI has finished rendering / the image has loaded? I have install startup script that executes when I create the image, however since it starts executing very early the UI is frozen and I don't get any progress bar so I don't know what's happ