>>869
Run, %windir%\system32\notepad.exe , , , pid
WinWait, ahk_pid %pid%
WinActivate, ahk_pid %pid%