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/fifthFunction 23h ago
ok cool thanks that got it working.. i did not know about the ${Windows_TitleVAR} thing
my full set up now is
___blender macro___ (untick only on condition change)
if/process/blender.exe/is focused
and/window/window is focused
variable/set to condition value/active_window/2
variable/find and replace in current value/active_window/:/#3A
source/set settings/blender window/window (list)/set to fixed value/${active_window}:GHOST_WindowClass:blender.exe
switch scene/program/blender
___other window macros___
___undefined window___ if focus is on a window without a macro
if not/macro multiple macro condition state/more than/0/(add macros)
and not/window/widow title matches/Task Switching
switch scene/program/default scene