Code: Select all
DetectHiddenWindows,on
WinGetTitle, Title, ahk_pid 12345 ;i place the actual PID of the chrome tab
MsgBox, % Title
ExitApp
I also tried adding a winwait before the msgbox still empty box, I tried PID of notepad it worked I tried other PID's from chrome it still did not work