Using the window title could return a false positive for another window having the title "Path of Exile", such as file explorer opened to the directory "Path of Exile".
To solve this, use WinGet ProcessName to check the process name instead of the title, and/or use the ahk_exe identifier from WinTitle.
Context:
dynamic_loot_filter.ahk
, GUI toggle hotkey.Using the window title could return a false positive for another window having the title "Path of Exile", such as file explorer opened to the directory "Path of Exile".
To solve this, use WinGet ProcessName to check the process name instead of the title, and/or use the
ahk_exe
identifier from WinTitle.