Personally I don't think Keyboard Maestro is the best tool for the job...
Could it be done?
- You'd have to keep track of application switches.
- You'd have to be able to list all windows in all apps.
- Keyboard Maestro cannot do this natively.
- It looks like it can be done if you have the AppleScriptObjC or JavaScript for Automation chops.
- How to List All Windows of One App That Are Open in All Desktops - #10 by CJK
- Creating a UI to move between Objects and KM's text-based system would be interesting to say the least.
I think you could probably do it if you invest a few months of development time, but I wouldn't bet the farm on it.