I'm currently trying to learn how to write python scripts for OBS Studio. I'm trying to setup a hotkey you can select/change within OBS, but I haven't been able to find any tutorials nor already-existing scripts that have this. (Scripts with this may already exist, I just haven't been able to find any)
Can someone help?
For Python maybe that will help: OBS doesn't receive hotkey from python script
I can't help you with python, but if you are using a Mac you can control it with AppleScript.
An example would be the following script.
I had an external midi controller flying around here (MPC) that I use for this, but there are also keyboards with function keys.