I don't know how this could be done. The difficult part is identifying the window. Something like AutoHotkey could possibly help. BTW: Console from http://sourceforge.net/projects/console is very nice. You can copy and paste text to and from it using the clipboard.
-- <http://forum.pspad.com/read.php?2,42667,42674> PSPad freeware editor http://www.pspad.com
