tscizzlebg
New Member
I'm trying to trigger the Start and Stop Recording hotkeys using PyUserInput (https://github.com/PyUserInput/PyUserInput).
I can control other aspects of the computer using `PyKeyboard` and its `press_keys` method, and I can trigger the OBS hotkeys for Start/Stop Recording directly from my real keyboard.
The only thing that doesn't work is both together: triggering OBS hotkeys using PyKeyboard.
Does OBS listen for key events in such a way that causes this behavior? Any advice for how to trigger Start/Stop Recording from an independent Python script, as I'm trying to do?
I can control other aspects of the computer using `PyKeyboard` and its `press_keys` method, and I can trigger the OBS hotkeys for Start/Stop Recording directly from my real keyboard.
The only thing that doesn't work is both together: triggering OBS hotkeys using PyKeyboard.
Python:
from pykeyboard import PyKeyboard
k = PyKeyboard()
k.press_keys([k.control_key, k.alt_key, k.shift_key, "s"])
Does OBS listen for key events in such a way that causes this behavior? Any advice for how to trigger Start/Stop Recording from an independent Python script, as I'm trying to do?