<div dir="ltr">Oh... looking at your env setup code, I see there is a nuance.<div><br></div><div>WorldMorph doOneCycleNow needs to also be called after any changing of the display size if later code needs to use its (new) extent. Which of course makes perfect sense, in retrospect. :)</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 19, 2023 at 11:54 AM Alexandre Rousseau <<a href="mailto:yalexr@gmail.com">yalexr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It works. Thanks !<div><br></div><div>The one key difference (for me, taken from your code) was by sending "self runningWorld doOneCycleNow." before the window deletion block.</div><div><br></div><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 19, 2023 at 11:39 AM Hilaire Fernandes <<a href="mailto:hfern@free.fr" target="_blank">hfern@free.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><font size="4">It is likely the Preferences error was causing a
compilation error, so the script can't be executed.</font></p>
<p><font size="4">Check out the attached scripts because it works
for me.</font><br>
</p>
<pre cols="72">--
GNU Dr. Geo
<a href="http://drgeo.eu" target="_blank">http://drgeo.eu</a>
<a href="http://blog.drgeo.eu" target="_blank">http://blog.drgeo.eu</a></pre>
</div>
</blockquote></div>
</blockquote></div>