"Move & maximize all windows to mouse display" but for only the focused app's windows

Could we have an action very similar to the existing "Move & maximize all windows to mouse display" but which only applies to the app whose window has the keyboard focus?

I feel that the "Move & maximize all windows to mouse display" is not very useful as it does too much, even maximizing windows that should remain a specific width like iTerm.

But a command that works just for the focused app would be very helpful for VS Code windows that keep moving to the wrong display after waking from sleep.

By the way, the Apple word for "move windows together" is "gather". Might make sense to rename these actions.

These posts are similar but somewhat different:

I use the save/restore layout function to always place five TextEdit windows in the same location. This works fine. But as far as I know only if the window names do not change.

I also had this need and found a workaround. Just set the action as an Apple Script with the following code:

tell application "Finder" to set theBounds to bounds of desktop's container window
tell application "System Events"
	set activeApp to name of first process whose frontmost is true
	try
		tell process activeApp
			set position of every window to {0, 0}
			set size of every window to {item 3 of theBounds, item 4 of theBounds}
		end tell
	end try
end tell