obs_hotkey_key
Simulate pressing a key combination in OBS to trigger manually bound hotkeys with no named action or request. Be cautious: unused keys may be ignored, or unexpected bindings fire.
Instructions
Press a key combination at OBS, as if typed while OBS had focus. Use this only when an action has no name in obs_hotkey_list and no request - for instance a plugin binding a user configured by hand in Settings > Hotkeys.
It is a blunt instrument and fails silently in both directions. If nothing is bound to the combination, OBS accepts the request and does nothing at all. If something you did not expect is bound to it, that fires instead - and OBS's default bindings include stopping the stream and the recording. There is no request that reports what is bound to what, so you cannot check first.
keyId values are the OBS_KEY_* identifiers from libobs/obs-hotkeys.h - OBS_KEY_F1, OBS_KEY_A, OBS_KEY_SPACE, OBS_KEY_NUM1 and so on - not browser key names and not raw characters. Modifiers go in keyModifiers, not in keyId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | No | OBS key identifier, e.g. 'OBS_KEY_F5'. Omitted means no key is pressed, only modifiers. | |
| keyModifiers | No | Modifier keys held during the press. Omitted entirely means none. |