Warmuptill
Active Member
@Warmuptill
Made some headway, got the CMD to install as per your additional instructions.
It doesn't work, but I do see an error in the log. It appears for me regardless of whatever i put in the box for "Script" I get the same error message in the log. Anything I should check closer?
View attachment 112704
Sorry I assumed your python installation would be more up to date.@Warmuptill
Odds are I'm misunderstanding how this command works.
I'm trying to read the contents of file "1.bat"
If contains text "empty" then the route "batch 1 empty"
If it contains anything else, it will go to the "else" route.
Right now, regardless of what contents are in the file, or if I do an if if/not, it always seems to match.
I'm sure its me, is there a suggestion of a way I can do this type of file content match?
View attachment 112708
I think if you replace ...
Code:
result = subprocess.run(command, shell=True, capture_output=True, text=True)
obs.script_log(obs.LOG_INFO, result.stdout)
obs.script_log(obs.LOG_INFO, result.stderr)
Code:
subprocess.run(command, shell=True)
Hi - I need some help with variables.
I'm trying to use a variable to take every chat message on a certain scene and append a text file with each message.
There is a tutorial on github for how to "set variable to text source text", which is the closest thing to explaining what I need, but it uses "Set to condition value", which now says it's a legacy feature. When I select it, I can't even type in the field.
I would really like this to work, if anyone has any ideas.
Glad to hear that you got everything working.Ignore that last message.
I lost a lot of my macros due to changing OBS installs. I thought that was one of them, and that I couldn't figure out how to recreate it.
Turns out that was a feature I set up in MixItUp.
Just for completeness in case you / someone else needs it, you can assign the chat message to a variable like this: