It works good Jos! Thank you!
I tested it briefly using this in the LibreOffice development folder:
_LOCalc_CellFontColor()
MsgBox($MB_OK, "", "")
_Word_Create()
and it took ~7 seconds before the ArrayDisplay came up. And then some weird output message in the Terminal (This could be my own problem, as I occasionally have display issues with VSC.). But I can't reproduce this after the first two times. But the ArrayDisplay sometimes comes up using this script.
I then tested with this:
_LOCalc_CellFontColor()
MsgBox($MB_OK, "", "")
_Word_Create()
_LOWriter_VersionGet()
And it took ~8 seconds, but missed the MsgBox Constants. However no array display, and only normal messages in the terminal.
Edit: Tried it again and it took 5 seconds. Msg Box constants still don't get added with the lower script.