Ok, here is the POC.  Its ugly, but it seems to work. 2 Files to download - RunParams.au3 and RunNotepad.au3 (RunNotepad must be compiled to .exe) 1) RunParams.au3    This is the RunParams mock up.  This has the code that you can incorporate in your .au3.  Go ahead and run it either in interpretive mode or compiled.  When you press F5 it will launch a new Notepad to simulate the PSPad log window (it also kills any notepad window first).  Then after 4 secs the focus should change t