Warmuptill
Active Member
Hm ... very interesting.You didn't misunderstand. But unfortunately what you gave me didn't do anything.
View attachment 86471
This is what you showed me, correct? But with this, no matter how many times I edit the html file, nothing changes. No green blinking, or anything saying that the macro was recently triggered.
If I flip it to "If not", the macro will trigger once and only once. And the top portion will blink green continuously, showing that the top is "true." But after that, if I edit the file, nothing happens.
I could unclick "Perform actions only on condition change" and the macro will keep triggering endlessly, but that's not what I want.
What should I try next?
It seems like all this time I didn't notice that the regular expressions are currently only allowing to match one line at a time.
So you would have to add ".*" for each line in your file.
This is of course not feasible and something I will change.
Thank you very much for bringing this to my attention!
To unblock you I started a build where this behaviour is changed for the file condition.
Should finish in a few minutes and be available here:
Cleanup · WarmUpTill/SceneSwitcher@2ed9256
An automated scene switcher for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.
I will clean this up in the other areas where regular expressions can be used to match multiple lines also.