<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
Hi Hiliaire,<br>
<br>
your method works. Thank you. It is better then my fork+delay. <br>
<br>
Could you explain me a bit why the "doOneCycle" work ? <br>
<br>
I put my script here, maybe somebody else wants to peek and adapt. <br>
<a class="moz-txt-link-freetext" href="https://pastebin.com/UKUdySxY">https://pastebin.com/UKUdySxY</a><br>
<br>
bye<br>
Nicola<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 8/1/21 12:41 PM, Hilaire Fernandes
via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:0fdc2012-1c0b-558d-60be-e3c5aa13bf8a@drgeo.eu">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">Inserting this instruction below in your script
at some point may help, try out and tell us.<br>
</font></p>
<p><font size="+1"> self runningWorld doOneCycle.</font></p>
<p><font size="+1">It helped me for a correct computation of the
RealEstate agent after changing the scale of the taskbar.<br>
</font></p>
<p>Hilaire<br>
</p>
<div class="moz-cite-prefix">Le 28/07/2021 à 18:56, Nicola
Mingotti via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:0e04a94c-37ad-445f-bf4a-65d498913ef6@gmail.com"><br>
I found a fix, just an hack.<br>
<br>
My conjecture was that the .st config script was running before
GUI items were actually ready on the World.<br>
So i tried to put a little timeout copying from my old Squeak
notes on fork and Delay ;) <br>
<br>
------------ working -----------------<br>
<br>
[ |list tbar| <br>
(Delay forMilliseconds: 3000) wait. <br>
Transcript show: 'hello world'. <br>
list _ UISupervisor ui submorphs reject: [ :aMo | aMo is:
#TaskbarMorph ].<br>
list do: [ :x | x delete ] .<br>
Preferences veryBigFonts . <br>
tbar _ (UISupervisor ui submorphs select: [ :x | x is:
#TaskbarMorph ]) first. <br>
tbar scale: 1.4.<br>
] fork. <br>
<br>
-----------------------------------------<br>
<br>
Please update the Cuis book ;) that is really important !<br>
<br>
bye<br>
n.<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu" moz-do-not-send="true">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu" moz-do-not-send="true">http://blog.drgeo.eu</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
</body>
</html>