I have a two-monitor setup. I use one monitor as "primary" and other as "Reference" i.e I do active work using primary monitor and the secondary monitor has the windows that I refer to while doing my work. Over a period of time, multiple windows of the same app (Outlook, Excel, Word, PyCharm, etc.) end up distributed on different windows.
I need a shortcut/ third party app which on a keystroke or option from a menu that "gathers" all the windows that belong to the current active app into a single screen (primary screen or an option to select which screen).
Essentially I need the functionality of the "Gather Windows" option present in the Display Preference extended to all apps. I looked at this question: Trigger 'Gather Windows' programmatically (or other quick way) but that operates only on Display Preference window.
If not possible out of the box, third party apps are fine as well.