[Cuis-dev] Proposal. make Utils setAuthor scriptable
Gerald Klix
cuis.01 at klix.ch
Wed Aug 4 23:41:38 PDT 2021
Yeah that would be nice.
In the meanwhile you can hack around that missing method this way:
--- snip ---
Utilities classPool
at: #AuthorName put: 'Gerald Klix (Haver)';
at: #AuthorInitials put: 'KLG'.
--- snap ---
Taken from:
https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/Haverize.pck.st?rev=tip#L77
HTH and Best Regards,
Gerald
On 8/5/21 12:03 AM, Nicola Mingotti via Cuis-dev wrote:
> Hi,
>
> I would like to set my initials and user name from
> the script .st file at image boot.
>
> As far as I can say, these values are stored into Utils
> class variables and the only way to set them is using 'setAuthor'
> which require graphical interaction.
>
> Is there another way to set them ?
>
> If not, I propose you to implement a method 'setAuthorName: aString
> initials: aString'.
>
> Let me know what you think.
>
> Bye
> Nicola
>
>
>
>
More information about the Cuis-dev
mailing list