I have a Chrome extension which pops a box up when a website finishes loading (see attached image). I am trying to detect if that window is active with a simple piece of code to display a message box if the window is active. But when I use Windows Spy it shows up as the same information as Google Chrome itself. This is the simple code I have;
if WinExist("ahk_class Chrome_WidgetWin_1")
But since the Windows Spy information is the same for the main Chrome window itself AND the extension popup it messages all the time.
How can I detect if my little box is active and display a simple msgbox ?
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1
- Annotation 2020-08-09 190103.png (12.02 KiB) Viewed 472 times