> On 09 Feb 2015, at 12:06, Roberto Minelli <[email protected]> wrote:
>
> Hi,
>
> I already asked this question a while ago, and I’d love to know if something
> has changed: Is there any way to specify an order or priority of
> StartupAction?
>
> In my case, for example, I really need that one of my scripts gets executed
> last. Can I do that?
“Last” in terms of all possible actions or only w.r.t. your own scripts?
>
> I could imagine something like
>
> StartupPreferencesLoader default executeAtomicItems: {
> StartupAction
> name: ‘My first startup action’
> code: [ “Some code here" ]
> order: 1
> runOnce: true
> }
>
> StartupPreferencesLoader default executeAtomicItems: {
> StartupAction
> name: ‘My second startup action’
> code: [ “Some code here that gets executed after the code in My first
> startup action” ]
> order: 2
> runOnce: true
> }
>
> On top of my knowledge, after checking 'Deep into Pharo' and ‘Pharo for the
> Enterprise’, it seems that this is not possible.
>
> Am I the only one needing this? I can also try to sketch a solution!
>
> Cheers,
> Roby
>
>