LukasTycho
New Member
Hi, I'm using OBS as a "Video Switcher" with a big screen. I'm using a Fullscreen Projector for this. I have a small script that autostarts the projector when OBS is started, which works fine if the screen is turned on. If the screen is off, it is not detected as a monitor in Windows and therefore OBS does not start the projector. Is there any way to detect when the screen is being turned on, i.e. to detect when there is a new monitor connected to the PC and use that as a trigger in a script?
My thought is that there might be an event for that for which I simply have to add a callback function, but I couldn't find any information about such an event.
Any help would be greatly appreciated. (If you wonder why I don't simply start the projector manually when connecting the screen: I'm not the only person using the system and want to keep it as simple as possible for less experienced people.)
My thought is that there might be an event for that for which I simply have to add a callback function, but I couldn't find any information about such an event.
Any help would be greatly appreciated. (If you wonder why I don't simply start the projector manually when connecting the screen: I'm not the only person using the system and want to keep it as simple as possible for less experienced people.)