FSC
Member
The response format is a json string
For performance reasons I would use dos commands, to start e new Powershell still takes more time than command line
Example:
0 to 100 if it was 0
100 to 0 if it was 100
For performance reasons I would use dos commands, to start e new Powershell still takes more time than command line
Example:
0 to 100 if it was 0
Code:
FOR /F "tokens=* delims=" %%A IN ('OBSCommand.exe "/command=GetSourceFilterInfo,sourceName=QueueGroup,filterName=Fade" ^| FINDSTR /I "opacity.:.0" ') DO (OBSCommand.exe "/fadeopacity=QueueGroup,Fade,0,100")
100 to 0 if it was 100
Code:
FOR /F "tokens=* delims=" %%A IN ('OBSCommand.exe "/command=GetSourceFilterInfo,sourceName=QueueGroup,filterName=Fade" ^| FINDSTR /I "opacity.:.100" ') DO (OBSCommand.exe "/fadeopacity=QueueGroup,Fade,100,0")