May 26, 2017
9:30 a.m.
On Fri, May 26, 2017 at 10:44:56AM +0200, Georges Kerssies wrote:
Hello,
Does anybody know how to execute code at startup of the image? Something like returnFromSnapshot in vw
Thanks in advance,
Georges
Sven answered the question for code already in the image. If you're talking about automatically executing a file, take a look at the StartupPreferences package. And as a simple example, try the following startup.st: StartupPreferencesLoader default executeAtomicItems: { StartupAction name: 'Startup Example' code: [ 42 inspect. ] runOnce: false. } Cheers, Alistair