Warmuptill
Active Member
Maybe this example can help you understand how to use the video condition's pattern matching options:@Warmuptill thanks But how do I do that macro to compare patterns, with a screenshot? like this attach
@AaronD
Thanks for your explanation, I understand better there, now the problem is how I get to correctly create the macro with that pattern.
Maybe I don't explain well. but what I want is for a macro to detect when a camera is not turned on or is tilted. And if that happens, change the scene.
Activate overlay to hide parts of the screen
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.
It is very difficult for me to give you concrete advice without having more details what exactly is happening visually when "camera is not turned on or is tilted". :(
First of all sorry if I am once again misunderstanding what you are asking.Thank you, here I attached some images so that you understand me better. With the downstream keyer plugin I can create new hotkeys... but I have no way to call them from the Macros... or at least I can't find the way to do it. I need to create a macro with the following condition
If hotkey "Show DSK1" is showing play a video.
either
If it is scene 2 showing, turn on hoteky "Show DSK1" Else "hide DSK1"
either
If it is scene 1 or scene 2 or scene 3 showing hotkey "show DSK1"
instead if it is scene 4 or scene 5 or scene 6 hide hotkey "hide DSK1"
I hope I have explained myself better.
thanks for your time
If you want to "press" a hotkey you can use the hotkey action to send the corresponding key press you have configured for this hotkey to OBS.
(See the screenshot I shared previously)
If you want to perform additional actions when pressing a DSK specific hotkey you can use the hotkey condition to create a hotkey which triggers your desired actions.
The crucial step would just be to assign the same keybind to the hotkey used for your DSK and the one used for you macro.
The advanced scene switcher does not have access to the internals of the DSK so it cannot directly know what they DSK hotkey does.
You can however indirectly infer whether the DSK is currently showing or hiding a source using the source condition.
(See the screenshot from my previous reply)
I hope that helps.
If not feel free to message me directly and we can set up a call where you share your screen and work things out live. (This will probably make it easier for me to understand what you are trying to achieve and let you know if this is possible or not)