Whelp, given that I just spent that last 3 days and nights straight figuring it out, here’s the answer:
- Paste the following script into the Text Editor window, which you may find in the “Game Logic” or “Scripting” screen layouts in the drop-down menu at the top of the screen. This will be the last time you’ll have to click on the fraggin’ thing with your mouse.
"""Switches to the screen layout of the given name."""
bl_label="Switch to Screen Layout"
- At the bottom, name it “SetScreenLayout.py” or anything else ending in “.py”.
- Click the “Run Script” button on the bottom bar to apply it to this session. (You may have to scroll to the right of the bottom bar to find it.)
- Check “Register” to the right of it, to have the operator available after restarting Blender.
- Go to File->Preferences, Input tab, and under an appropriate subcategory such as “Screen -> Screen (Global)”, click “Add New” for as many screen layouts as you want shortcuts for. I used Ctrl-Alt-F1 through F4 as those seem not to be taken.
- For each one, input “screen.set_layout” in the text field on the left and hit enter.
- To the right of “layoutNamme” that appears below, input the name of the screen layout you want the key combo to switch to, from the pull-down list at the top (“Default”, “UV Editing”, “Animation”, “Compositing”, “Game Logic”, “Scripting”, or your own custom-made layouts).
I undoubtedly spent more time getting the fraggin’ hotkeys to work than the combined time they will save me for the rest of my Blender career, but I’m German and don’t know how to surrender. Thanks, Uncle Entity, for the tip on the context object to set.