save texts in a output window