What I mean is: can I use this plugin to turn off an already opened projector? (Because OBS does not have an API to 'turn off projector')
I'm sorry I misunderstood.
Currently, closing the projector window is not supported by this plugin.
I recommend you vote on this site if you have not.
Currently (up to 29.0.2) there isn’t a way to natively close a full screen projector child / sub window using a hotkey. Whilst the projector_hotkeys L
ideas.obsproject.com
I'm considering an idea to access generic Qt features through the obs-websocket API, not just quiting OBS. For example, finding a button widget and sending a click event. This idea might cover the feature of closing the projector. So far, this idea is just in my brain. I have not started to write the code.
Probably, one of the difficulties is how to find the projector window. There can be multiple projector windows and sometimes multiple projector windows can show the same source or same scene.