I just added a keyboard shortcut to a Siri Shortcut that runs some Apple Script that performs some keyboard shortcuts and some GUI scripting.

Apple Script screenshot