Hi, when I run the following script, open the firefox, it output "Exist"; but when drag the firefox to another display, it output "not Exist".
#SingleInstance, force
!b::
IfWinExist, ahk_class firefox
{
MsgBox, Exist
}
Else
{
MsgBox, not Exist
}
Return

and use the latest ahk version
Hi, when I run the following script, open the firefox, it output "Exist"; but when drag the firefox to another display, it output "not Exist".
and use the latest ahk version