This shortcut stores the name of applications as the key and the resize configurations as the value in a dictionary. For each entry, it opens the apps and resizes the windows as configured. A delay is added as the UI sometimes fails to catch up. There’s also a bug where the bottom edge can’t be reached. Not sure if it’s the OS or my environment. Hope it works for you.
edit: spelling