I would like to end up with a list (or array or whatever) of all the visible (including minimised) windows.
I have found 2 similar questions, which don't quite give me what I'm looking for:
- Work out which windows go in the alt-tab list
- list windows in another user's session
Thanks.