>>>Thanks for the suggestion, but I could not get it to work with any consistency. I find it odd that there is no command like CLEAR WINDOW "Debug Output".
>>
>>Something like that:
>>
>>ACTIVATE WINDOW "Debug Output"
>>DEBUGOUT 'Test1'
>>DEBUGOUT 'Test2'
>>WAIT WINDOW "Press any key to clear DEBUGOUT"
>>ACTIVATE WINDOW "Debug Output"
>>KEYBOARD '{ALT+W}E'
>>
>>Not tested well!
>
>Yes, but sometimes it hangs, other times it fails to clear (mostly).
>Also, the keyboard line is "{alt+W}O". The hotkey "{Alt+2}" does not work at all.
If trying such stuff I generally sprinkle in sleep(), a couple of DoEvents and/or Wait window timeout 0.1 without beeing scroogy with them...