-
How do I do this in the first place?
-
Is this possible in desktop apps as well as console?
-
What happens in a Windows console app?
In console apps you can refer to the StdErr method:
StdErr.Write("Hello")
Xojo Desktop apps do not have a StdErr, though you may be able to do something with declares.