How to List All Windows of One App That Are Open in All Desktops

Thanks CP/Rob (what do you prefer to be called, @ComplexPoint ?),

This looks like a great start, not only for my project but as a trailhead into JXA. I’ve started learning AppleScript to use with KBM and I have some familiarity with shell scripts, I’ve used SED with KBM to massage text lists, but I’ve had no inkling that JXA was available within KBM. Thanks for your great Wiki articles on the subject. I’m in a similar position to where @JMichaelTX was:

I used Acrobat JavaScript 20 years ago to manipulate comments in PDF files, but I have no experience using it in browsers.

Again, thanks, I look forward to trying this out.