What does it do to not check the "only on change" box? Is that effectively a loop while the condition is true?Unfortunately I do not think something looping is possible at the moment.
What does it do to not check the "only on change" box? Is that effectively a loop while the condition is true?Unfortunately I do not think something looping is possible at the moment.
After a bit of trial and error, I was able to troubleshoot it and get it working on my PC by setting the conditions for each macro to "Plugin restarted". I will change as needed for a live stream trial and let you know if I run into problems.You will have to introduce additional macros and pause / unpause the sequence macro you created already.
First create a macro that does whatever should happen when you start streaming.
In this example it will switch to a given scene and wait there for a fixed amount of time.
Make sure to add an additional action to the end of the macro handling the stream start that "unpauses" the sequence macro you created previously.
View attachment 91229
Next add one more macro that pauses the Sequence macro when you start the plugin.
View attachment 91228
There are of course many other ways of doing the same thing which might be better suited to your set up, but I still hope this example helped! :)
He is referring to looping for different conditions, not checking over and over again for a conditionWhat does it do to not check the "only on change" box? Is that effectively a loop while the condition is true?
In that case, would one of these work?:He is referring to looping for different conditions, not checking over and over again for a condition
And Not <other macros>
might be optional, depending on how the matches work.You can run a macro when a transition to a given scene / any scene started using the "Scene" / "Transition" condition types.Is there a way to make a macro run when a scene transition starts? Or even before the scene transition starts? I'm using this plugin to toggle recording when I go to a "troubleshooting" or a "we will be right back" screen and it currently records the transition from content to these screens before pausing the recording.
Does it work to have a hotkey for "Technical Difficulties" that:Is there a way to make a macro run when a scene transition starts? Or even before the scene transition starts? I'm using this plugin to toggle recording when I go to a "troubleshooting" or a "we will be right back" screen and it currently records the transition from content to these screens before pausing the recording.
Second set is more what I do now but looking for a better way. Because the macros run serially I currently do as followsIn that case, would one of these work?:
Or:
- Conditions
- If Match A
- Or Match B
- Or Match C
- Etc.
- Actions
- Switch Scene: Match
The
- Macro A
- Conditions
- If match A
- And Not Macro B
- And Not Macro C
- Actions
- Switch Scene: Match A
- Macro B
- Conditions
- If match B
- And Not Macro A
- And Not Macro C
- Actions
- Switch Scene: Match B
- Macro C
- Conditions
- If Match C
- And Not Macro A
- And Not Macro B
- Actions
- Switch Scene: Match C
And Not <other macros>
might be optional, depending on how the matches work.
I guess another way to say it is, "Don't forget the plugin's logic in scanning the macros, in addition to the macros themselves." The sum total of everything, might actually do what you want.
If I'm still off, diagram.
My "guard conditions" are to prevent glitching. But if the macros run serially (the "run in parallel" box is not checked for any of them), then you might have each one write to the same variable, and then have the final macro switch to whatever that variable says by then. That would also not glitch...unless the triggers themselves are unstable, in which case you need to fix that or increase the time that it needs to stay matched.Second set is more what I do now but looking for a better way. Because the macros run serially I currently do as follows
If Match A
switch scene A
If Match B
switch scene B
ETC. ........
If (true)
scene_name = ""
If (Match A)
scene_name = "A"
If (Match B)
scene_name = "B"
If (Match C)
scene_name = "C"
If (scene_name != "")
switch_scene(scene_name)
You can show the other tabs by unchecking the following option on the General tab:What an awesome plug-in, the Scence Groups in wiki is what im looking for, when i installed it, i only have General + macros tab. Is there somethings im missing?
Oh my gosh... you're a genius. This works !! I had tried the variable, but I missed the "current scene match" and "set to condition" fields.That should be possible with a setup using a variable:
I apologize for this :(Ok, this is driving me nuts. So I have loaded the latest and greatest of the OBS and The Advanced Scene Switcher. Almost every time I do pattern matching now OBS crashes.
Is there a specific way to execute a macro based on a video input?
should I look at the source or look at a scene with the source in it?
Does it mater what the source is, camera input, screen capture input, etc.
Previously I would only experience OBS crashes occasionally but now it's like every time I go select an area of the video source to look at
I think that is unlikely.or is it just the new OBS being a pain in the ass
Only happens in my experience when the plugin window is open.I apologize for this :(
I will try to look into this further on the weekend.
Just to clarify:
Is the crash / freeze issue only happening when interacting with the setting dialog of the plugin?
Or does this also happen when the settings window is closed?
I think that is unlikely.
Thanks. That's exactly what I was looking for.You can use a single File condition to match multiple patterns using regular expressions.
For example, the regular expression(pattern1)|(pattern2)|(pattern3)
would match if the file only contains either of the following lines:
View attachment 91194
- pattern1
- pattern2
- pattern3
Regular expressions can be very powerful, but also complicated.
I would suggest testing them on https://regex101.com/.
And sorry about the delayed response.
I somehow missed your message.
I'm a programmer too. People like you are both annoying and necessary to us.I am by no means a programmer so I tend to break things often either by accident or just because I don't know what I am doing and just try stuff till it works
So going to go back to OBS 28 and try again.I apologize for this :(
I will try to look into this further on the weekend.
Just to clarify:
Is the crash / freeze issue only happening when interacting with the setting dialog of the plugin?
Or does this also happen when the settings window is closed?
I think that is unlikely.