Start OBS Camera Macro (v10.1.1) No working

I'm trying to activate the virtual camera with a button press in KM.

When the action is performed the button turns blue, but the camera isn't started.

Any help gratefully received.

Thanks.

Start OBS Camera Macro (v10.1.1)

Start OBS Camera.kmmacros (1.4 KB)

Keyboard Maestro Export

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.

Thanks Evan.

Yes, I found these based on a post from you.

I’m not even sure if there’s any advantage of going via KM.

But I would like to know how to hook into the hotkeys from KM if you can spare a moment?

Appreciate the help man.

| Evan_Mangiamele
October 19 |

  • | - |

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.

image

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.

Great. Thanks Evan.

| Evan_Mangiamele
October 19 |

  • | - |

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.

Ha. Ok
I really just want to start virtual camera and - most importantly - cut between two scenes.

I’ll see how I get on with hot keys.

Thanks.

| cdthomer Regular
October 19 |

  • | - |

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. :sweat_smile:

@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.

[AS-OBS] Toggle Virtual Camera.kmmacros (18 KB)

Macro screenshot (click to expand/collapse)

1 Like