[Cuis-dev] [Cuis 6] Startup script

Hilaire Fernandes hilaire at drgeo.eu
Mon Jan 3 23:37:16 PST 2022


I updated and saved the image, and it is working now. Strange.

Hilaire

Le 03/01/2022 à 21:46, Hilaire Fernandes a écrit :
>
> This is run as described in the Cuis Book 
> (https://cuis-smalltalk.github.io/TheCuisBook/Daily-Workflow.html).
>
> I tried the third option for a startup script:
>
> | list  |
> "Delete all windows but the taskbar"
> WorldMorph allInstancesDo: [:w | list := w submorphs reject: [:aMorph 
> | aMorph is: #TaskbarMorph]].
> list do: [:each | each delete].
>
> It does not work when invoked at startup as the argument of the -s 
> option. When copied and pasted in Cuis6 Workspace, it works though.
>
-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220104/d5fa3bb4/attachment.htm>


More information about the Cuis-dev mailing list