I can do it with a shortcut, but looking for a fully automated way.
Does Mission Control or macOS allow this?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
I use the app BetterSnapTool, which allows you to maximize windows by dragging them to the middle of the top of the screen, among other features.