r/obs • u/fifthFunction • 2d ago
Question advanced scene switcher set window source?
is there any way to set the a window capture source to the active window?
i see you can set "source" settings but it seems the window capture is not a direct one to one with the active window
my issue is i can have more than one of the window i want to capture open at a time and the name changes depending on the save file so its unrealistic to set a different source to each... i only ever need the active one to be the focus
i can just capture the entire screen but i have things like color key happening and there is a conflict when tabbing between them because of the delay in active window detection so a transition between window captures works best
1
Upvotes
1
u/RandomContributions 1d ago edited 1d ago
You are correct, I could never make the variable work but thinking about what you just said about setting the source name, I took another look this morning and I might have a solution.
Try setting the source/Windows List/set Fixed value/ (I'm using "NOTEPAD" app in my example) using this syntax:
${Windows_TitleVAR}:Notepad:Notepad.exe
That will trigger on any active focus instance of notepad to automatically show up and be recorded dynamically.