I've found OBS to be a little finicky to script. However, it has it's own hotkey settings, which you can set in preferences so you can set a hotkey directly in OBS and trigger it via keyboard maestro if you like.
I've found OBS to be a little finicky to script. However, it has it's own hotkey settings, which you can set in preferences so you can set a hotkey directly in OBS and trigger it via keyboard maestro if you like.
I’m going to save you a lot of time and frustration... don’t bother trying to automate the OBS window... I’ve used it extensively for years now and every update breaks things. Even their hotkeys are more like hot garbage that work only when they decide to, which isn’t very often.
Yeah, for whatever reason, the hotkey's don't consistently work for me either. I have found that I have about 95-99% success if i just double execute them, as per the actions here: Using the "Send to" with the hotkey has also increased reliability.
I set the hotkeys in OBS, and then triggered them via the "Type a keystroke" action, with "Send to" set to OBS, via the gear icon. I'm turning virtual cam on/off as part of larger macros so it's useful for me to keep it all in one place.
I set the hotkeys in OBS, and then triggered them via the "Type a keystroke" action, with "Send to" set to OBS, via the gear icon. I'm turning virtual cam on/off as part of larger macros so it's useful for me to keep it all in one place.
I’m going to save you a lot of time and frustration... don’t bother trying to automate the OBS window... I’ve used it extensively for years now and every update breaks things. Even their hotkeys are more like hot garbage that work only when they decide to, which isn’t very often.
FWIW here‘s the macro I built at the beginning of this year to toggle the virtual camera... it worked fine until this latest update several weeks ago at which point I just gave up with it.
But if anybody wants to take a crack at it be my guest.
@Evan_Mangiamele as you can see in this macro I used the same method, but for some reason OBS no longer recognizes the keystroke when it’s sent via Keyboard Maestro. I tried directly from AppleScript as well but to no avail.