I opened a window whose part of title is a.txt and I use AutoHotKey to find it.
WinGet, p_txt, ProcessName, txt
WinGet, p_atxt, ProcessName, a.txt
ListVars
It shows when search criteria is txt, p_txt has no value; when criteria is a.txt, p_atxt has value.
Why can WinGet, p_atxt, ProcessName, a.txt find my window but WinGet, p_txt, ProcessName, txt cannot?