OK - not exactly the same - looks like another place that needs patching:
- Code: Select all
Traceback (most recent call last) (1529):
File "C:\Program Files (x86)\EventGhost\plugins\Window\FindWindow.py", line 512, in OnSelectionChanged
GetClassName(hwnd) == targetWinClass and
OverflowError: long int too large to convert to int
To replicate: create a new FindWindow action, uncheck all criteria (including program name) and check search invisible items (so it will look at every window in the system). Not guaranteed, but a good chance of finding one.
Given that, I've now changed WinApi.__init__.py to return a "fixed" list of hwnds from GetTopLevelWindowList(). Ideally this would be fixed in cFunctions.GetTopLevelWindowList(), but for now the attached WinApi.__init__.py will work. WindowMatcher.py was getting GetTopLevelWindowList() directly from eg.cFunctions - I've changed it to use eg.WinApi.