Status messages: I use the functionality to collect warnings during the input script processing via StatusMessage totext="AI_warnings"
It works well - but if more than one message is picked up the status line looks wrong afterwards. So I have arranged that if there are messages it is simply indicated in the status line and a pushbutton appears, allowing the user to show the messages. But it would be nice if the message could be shown on the status line if only one message is in the list. Do you think this is possible?

Yes, you can use the following coding:

CopyText fromText="AI_warnings" toString="msg2" line=2

if not Q[ok]

  // only one or no warning


  // 2 or more warnings