Thanks for updating your Topic Title and providing a statement of the problem.
Very helpful.
I have not studied in detail all of the above responses, but a quick scan suggests that the windows in question may not be standard macOS windows that are visible to KM.
So, to help diagnose this issue, please do the following:
- Manually open the App and its windows of interest
- Run this macro: macro reports window properties for ALL windows that System Events can see in the Frontmost application
- Select all of the text in the report window, and paste into a Code Block in a reply here.