I'm trying to create a script to detect the Action Center in Windows 10:
Opt("WinTitleMatchMode", 4)
Opt("WinSearchChildren", 1)
While 1
Sleep(50)
$hControl = ControlGetHandle("[CLASS:TrayNotifyWnd]", "", "Action Center, No new notifications")
If not $hControl = 0x00000000 and Not W...