how to read the text in @newwindow if im using /debug @newwindow to open it ?