<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 5/24/2023 12:31 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:ae9a0c2f-4695-45f6-b01d-0fc821fc7766@free.fr"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi, <br>
</font></p>
<p>How can I access the running world in a start-up sequence ?</p>
<p>My observations from the start up sequence:</p>
<ul>
<li><b>self runningWorld</b> -> nil</li>
<li><b>WorldMorph allInstances first</b> -> a World instance,
using it is fine!<br>
</li>
<li><b>UISupervisor ui </b>-> a World instance, but using it
lock the image<br>
</li>
</ul>
<p>So only WorldMorph allInstances first return a usable World
instance in the start up sequence.</p>
<p>When using Cuis in regular mode, all three methods to access
the running worl are fine.<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Hi Hilaire,<br>
<br>
You can't access the World, because it is not running yet during
startup. Maybe what you need to do can be scheduled to be done after
startup finishes?<br>
<br>
Seem for example #snapshot:andQuit:embedded:clearAllClassState: Many
thins are done #whenUIinSafeState:<br>
<br>
HTH,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>