Source hotkey

eig777

New Member
How to make OBS play local mp4 file when hotkey is pressed and disappear from the screen?
I created a media source, indicated this file and made hotkeys to it for "Show" and "Hide". But now I need to press them one by one, but how can I do it with one button?
 

eig777

New Member
Or, for example, how to make the media source become invisible and inactive after the end of playback? And on the hotkey play it again
 

FerretBomb

Active Member
Setting it to the same hotkey will make it a toggle, but you will still need to press it once to show it, and once again to hide it.
You can use a piece of third-party software called AutoHotKey to set up a macro to press the button, wait the duration of the media, then press it again. But press-once toast functionality is not present in OBS at this time.
 
Top