I'm making an AutoHotkey script that, when a window with a certain title or class ID appears, draws a region inside it. The problem is that sometimes multiple such windows can appear, all having the same title and class ID. In that case my script cannot detect them all and only draws a region inside the active window.
Is it possible to get a list of handles of all windows matching the title or class ID or in some other way cycle through all of them in AHK? Thanks