I'm trying to start my stream on a schedule but unfortunately, OBS does not respond to hotkeys reliably in order to perform this action from a scheduled task. In short, is there a way to get OBS to listen to hotkeys better or is there another method to start streaming without user interaction on an already running instance of OBS?
For scene changes, I'm sending some hotkeys (ctl+shift+f1, ctl+shift+f2, etc) through MidiKey2Key and these come through reliably regardless of the OBS window focus. However, I'm trying to start my stream through an AutoIT script executable (as simple as Send("^+{f11}")) that is scheduled through Windows Task Scheduler and this only works if OBS has focus when the task is triggered. Obviously this is less than ideal.
For testing purposes, I have other programs (e.g. ShareX) that I can set to temporarily listen to the same ctl+shift+f11 hotkey. They can receive the hotkey signal from AutoIT and perform their own related action regardless of app focus, so I know that AutoIT is pressing the keys it is supposed to.
OBS listens correctly (regardless of window focus) if I press the keys manually, but the goal is to start the stream on time without user interaction on an already running OBS instance. I know the command line parameter exists, but it just pops a message that OBS is already running.
For scene changes, I'm sending some hotkeys (ctl+shift+f1, ctl+shift+f2, etc) through MidiKey2Key and these come through reliably regardless of the OBS window focus. However, I'm trying to start my stream through an AutoIT script executable (as simple as Send("^+{f11}")) that is scheduled through Windows Task Scheduler and this only works if OBS has focus when the task is triggered. Obviously this is less than ideal.
For testing purposes, I have other programs (e.g. ShareX) that I can set to temporarily listen to the same ctl+shift+f11 hotkey. They can receive the hotkey signal from AutoIT and perform their own related action regardless of app focus, so I know that AutoIT is pressing the keys it is supposed to.
OBS listens correctly (regardless of window focus) if I press the keys manually, but the goal is to start the stream on time without user interaction on an already running OBS instance. I know the command line parameter exists, but it just pops a message that OBS is already running.