shanelecuyer
shanelecuyer
well im not quite happy with it yet... im still very new and the code is a mess. storing variables in a Dict is not ideal. had to make many...
``` def findWin (pid): def callback (hwnd, hwnds): if win32gui.IsWindowVisible (hwnd) and win32gui.IsWindowEnabled (hwnd): _, found_pid = win32process.GetWindowThreadProcessId (hwnd) if found_pid == pid: hwnds.append(hwnd) return True hwnds = [] win32gui.EnumWindows...
ive submitted pull requests that i believe contain the fix for this