HOTKEYS: Am I the only one having problems with hotkeys working intermittently?

dazzyp

New Member
I use Stream Deck XL and it works brilliantly so I've built my show around hotkeys similar to above ... it works that is until there's an OBS update, and then it fails and takes days before it works again.

Frustrating ... anyone got a quick fix yet?
 

poporange630

New Member
Having the same issue. Works well for 2-3h and then breaks randomly. Only restarting OBS seems to fix it.

Ugly workaround:
  • Install Advanced Scene Switcher plugin
  • Open the "Shortcuts" app
  • Create a new Shortcut from this: https://www.icloud.com/shortcuts/db567a7da37145309e99b38e5f6e1a9c
  • Configure the shortcutView attachment 101958
    • Replace the text in between the quotes in the green box (leave the " in place) to a unique value, I use S1, S2 etc to refer to my scenes
    • In the red box add your hotkey/shortcut
    • Important: Run the shortcut with the yellow button
      This creates a hidden file in your home directory
  • Return to OBS and open the Advanced Scene Switcher Settings
    • Ensure "Check conditions every" is set to 300ms. If you make this longer, change the "sleep 0.5" in the Shortcut shell script to be a bit longer (0.5 equals 500ms)
    • Create a Macro
      • Trigger: If `File` `Local file` (some file) `matches` `VALUE FROM GREEN BOX IN SHORTCUTS WITHOUT QUOTES"`
        • Click the Browse button
        • A finder window opens
        • Navigate to your home directory (the one containing Desktop, Downloads, ...)
        • Press cmd+Shift+. on your keyboard, this will show hidden files
        • Select the .obstrigger file (which was created when you ran the Shortcut)
        • Update the "matches" text to exactly match your Shortcut, pay attention to upper/lower case
      • Action:
        View attachment 101959
        • Configure what you need, I switch scenes or stop the stream
Repeat for each hotkey you need. Bit of a process but seems to work fine and you completely bypass OBS' weird hotkey implementation. On the plus side you can do a lot with the Shortcuts, e.g. I also automatically bring the application I'm screensharing in a certain OBS scene into focus by adding a `Run Apple Script` block to the Shortcut with `tell application "Google Chrome" to activate` which opens Chrome or brings it to the front.
Thanks bro, this is ugly yet works like a charm. I almost decided to purchase a Windows Laptop just for OBS due to this bug.
 

bryanhirsch

New Member
I hate to be the bearer of bad news, but Stream Deck doesn't fix this for me. I have a Stream Deck pedal. I stopped using OBS last fall because this bug just makes scene switching too unreliable. I spend too much time futzing with my setup day to day.

I recently had the idea that maybe ditching the Stream Deck pedal and relying on hotkeys only might make things more dependable. I find the hotkeys sometimes keep working even after the pedal stops being responsive. But the hotkeys still eventually stop listening. And reading this tread, it seems like this issue probably isn't going away. Bummer. :(
 
Top