ZeusRockafeller
New Member
EXACTLY what I needed - THANK YOUView attachment 113022
I hope that helpsE
Manually allowing the file to open via Privacy & Security Settings was the key.
THANK YOU
EXACTLY what I needed - THANK YOUView attachment 113022
I hope that helpsE
You will have to perform the following actions.What conditions/actions do I have to use to execute the following?
The value (0) of the first line should be written to the variable 'ACW_Pre_Cam11'.
The value (12) of the second line should be written to the variable 'ACW_Pre_Cam12'.
The value (0) of the third line should be written to the variable 'ACW_Pre_Cam13'.
And the value (14) of the fourth line should be written to the variable 'ACW_Pre_Cam14'.
ACW___Dummy_Speicher02
to each of your ACW_Pre_CamX
variables like so:
AAArPHic7Zpbb9s2FID/ikD0YcsiT5KFNvXLkLouZiBNvTjNHtYsoKUjiYtEChTlOQvy33eomym7CbYEGGZUBQpIh+emc/kcCLonGQ2kKMjkt3vCaQZkQmYbmuUpkGMSS1HmZBLRtIBjktOygCVdwztI6JoJSSZOIzV0JE1TSDtBkEBwOxU8ZIoJXsz5otNQskQFwacJ5TG098Uty2cbCD7xpaJSdY4KJfLToHYSnQv1XvBtWJ1YIqSaMhmUTM3WNC2p1jU1piX6yLpcpjqzOVcgUXub75NK90R7BuPCGXlvd/4dE3WX66MHDMuZqsq0BllU+bgoDUVwuwSlGI8L7UtCzAqM0WWR0OKi5O9KpbRJXRiULXSt96RYJ1UWZ3RllD1hcZLifzWPtsW/lOW2ZLL1fwkbTJFgPNJ0syevYhL9JPtnn2sZnga9IHVGjdI2vkUlWDrtUc/ig07oKZMqY22j6zYPUYGG66Kwq9G1tdCGlRdEgevb0RvPsf3Ip/YJDSJ77EbgOL5/4r8ek50uVOb1SHUBl3nKFHZiIQpWzw/uRa73w0OT5tJ1xycP142DGeZWO3nc1nWd1521o03bjv8s1C3cFf0dq4Voft2V3RQpEccpLHbF24LW9zRob+5JAXEGXJkzF4g0pXkB4f6K9EcpMGXk452VVpfHBDhdpdq+nsRebZnu0ppKplV04ZvL8xoxp9NfbxYSbqY0c13j2GvO5xzXi4VWK7cKSKF6HqJJIK/q5SOv7rWnm5v3ZZbd3SxzYMgb6XgPqMbL7GpvWR1zObuKVRva1GgebsjEdvG+XC2VxHI1HNp6MX1stdhf8JgSdhs2C6qHA2OR0dFPX77oJ6nkH6kKkipqZ+yZxhHj4YVW1Ap1zU3cKmbQS+RNz1tDzA0D6rWylLC0pAqbpzSA/lkjtP5kKmlTw7WIWGzGrVvdhW0QbkbNqEpmm1xCUU8D+c5yrR8szzqyxtb31o+WT4xRW0iR5VvIM56XqpWRU3QRc6sqik6xnYZJ7WFeKeukE5GGBj3Z3gGxbdAQtxQ+rW1Xw7tmUnDd8av+bH5ezi4WF58+zM9metgC4LDspg9L0XTmuP25JPjQCrIc3fSOWTtI1S7swqfyO0e7OQ/B7L1r9j5ksg3sVIOPg3YGPMYWPWKR0zBEJfxNxWz8ExxyWsBlm5OkPBTZeZmtQO6NdX85TNUZjo0Rz9lRjfFRJFWgfydjXe56LP4oBP+lBHmnF3VUiAxGHBB64ah2VGvsPn/Ps1my/zfFvIFiA8UGig0UO2iKjQeKDRQbKDZQ7KAp5g8UGyg2UGyg2EFT7CXvxf4trE7+S1j9Pjp69QSq3ANFlT+gakDVt4mql7z8OmRUHepfVQOqBlR9o6h6yRuuQ0bVeEDVgKoBVYeEqpe8xjpkVPkDqgZUDajqlewae9Z9aNZ84FU1um1fJdNqa0PQfdL59XfausF03TitYocQ0TJVHUU0IvnXX009z/L5McfPtvT/gWX3vRy2rISmwF39iTvy3o7GtuvZ8cr3V37wZkwe/gYobIfg
YES! YES! YES!You will have to perform the following actions.
- First assign the value of
ACW___Dummy_Speicher02
to each of yourACW_Pre_CamX
variables like so:View attachment 113080- Next up for each of those variables extract the corresponding line using regular expressions like so:
View attachment 113081
The following settings have to be used for the regluar expression:
View attachment 113082
Here it is in action:
View attachment 113083
If you want to import the example macro you can use this code:
Code:AAArPHic7Zpbb9s2FID/ikD0YcsiT5KFNvXLkLouZiBNvTjNHtYsoKUjiYtEChTlOQvy33eomym7CbYEGGZUBQpIh+emc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0zBEJfxNxWz8ExxyWsBlm5OkPBTZeZmtQO6NdX85TNUZjo0Rz9lRjfFRJFWgfydjXe56LP4oBP+lBHmnF3VUiAxGHBB64ah2VGvsPn/Ps1my/zfFvIFiA8UGig0UO2iKjQeKDRQbKDZQ7KAp5g8UGyg2UGyg2EFT7CXvxf4trE7+S1j9Pjp69QSq3ANFlT+gakDVt4mql7z8OmRUHepfVQOqBlR9o6h6yRuuQ0bVeEDVgKoBVYeEqpe8xjpkVPkDqgZUDajqlewae9Z9aNZ84FU1um1fJdNqa0PQfdL59XfausF03TitYocQ0TJVHUU0IvnXX009z/L5McfPtvT/gWX3vRy2rISmwF39iTvy3o7GtuvZ8cr3V37wZkwe/gYobIfg
I hope that helped and I understood the request correctly! :)
No such feature is available. I think a good thing to add would be an ability to pass custom Tesseract params/args to cover more than by implementing individual settings like that.How can I setup OCR only to return a character subset such as the 12 elements in the array " .:0123456789" ?
Docs from above link show it is functionally there by setting the whitelist
View attachment 113088
That should be doable using a condition like this:Is the following possible?
If the random value of variable 1 is present in the values of variable 2, execute the next action/macro.
If the random value of variable 1 is NOT present in the values of variable 2, execute another action/macro (new random value).
As mentioned already by @Destroy666 this is currently not supported, but I will try to look into it and add that as an option.How can I setup OCR only to return a character subset such as the 12 elements in the array " .:0123456789" ?
Docs from above link show it is functionally there by setting the whitelist
View attachment 113088
The result looks so simple.That should be doable using a condition like this:
View attachment 113092
The regex is configured like this:
View attachment 113093
(I have adapted the name of "Variable 1" to "Random Value" and "Variable 2" to "Value List" to avoid misunderstandings)
New random values can be generated like this:
View attachment 113091
So the complete macro might be:
View attachment 113096
Hope that helps!
As mentioned already by @Destroy666 this is currently not supported, but I will try to look into it and add that as an option.
I concur, the appropriate implementation would to be able to generalize CLI options. I was hoping the integration already existed such that there was a config file that could be updated/created and used as such. fingers crossed.No such feature is available. I think a good thing to add would be an ability to pass custom Tesseract params/args to cover more than by implementing individual settings like that.
The condition was met, and the operation under the established condition was executed, but the OCR information was not transmitted or updated.
Sorry, I did indeed miss your reply!Hello Warmuptill, my previous feedback/replies might have been overlooked above. Please scroll up to check. Thank you for your selfless dedication! We sincerely appreciate your continuous efforts to improve and refine the project!
I will add it to the todo list :)@Warmuptill FYI - In my case, an ideal KISS approach would be if I could get access to the metadata of time since a variable has changed. - And be able to format the time ( in my case MMM:ss.sss )
For context. right now I am trying to OCR the timer from when a "Start" occurs. I have this in essence already when the json I am using currently switches a value to true. I see in the interface there is a time since change which is almost exactly what is needed. It just needs to be able to be accessed and formatted. The #.# of minutes since last change is not in the needed format.
I'm trying to display the timer in conjunction with other events in a log and in chat/messages for those who need to be able to hear events with impaired vision in review.
If we could access the metadata on a variable like time since value changed, and then be able to format it, that would simplify workarounds and things considerably.
Thank you again and I hope you are having a great weekend and month and don't see this until you are done having a great time doing whatever you enjoy most!
Thank you for this alternative suggestion, I'll see if I can take it far enough to meet the need. The one thing I am looking for is the elapsed timing since the change, and this looks like it is the point in time that the change occurred. I haven't found a way to get the current date time to then be able to calculate the delta/timing, but I'll look through docs and code to see if that is exposed. Both of which if I can't find them would be ideal, both "system"/core variables like current date time and ability to calculate time deltas and format them.Sorry, I did indeed miss your reply!
I think I was able to track down the problem.
A new build with a fix will be available here in a few minutes:
![]()
Draft option to check macro conditions in parallel to other macros pull request run · WarmUpTill/SceneSwitcher@8a7b25d
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
Let me know if you find any other issues! :)
I will add it to the todo list :)
I know it is not exactly what you are asking for, but I thought I would mention it in case it helps somehow:
What you can already do is setup a helper macro which populates date related variables as shown in this wiki page:
![]()
Variables
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
Then you could use those variables to construct a timestamp when the value of a variable changed:
View attachment 113124
Sorry, I did indeed miss your reply!
I think I was able to track down the problem.
A new build with a fix will be available here in a few minutes:
![]()
Draft option to check macro conditions in parallel to other macros pull request run · WarmUpTill/SceneSwitcher@8a7b25d
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
Let me know if you find any other issues! :)
I will add it to the todo list :)
I know it is not exactly what you are asking for, but I thought I would mention it in case it helps somehow:
What you can already do is setup a helper macro which populates date related variables as shown in this wiki page:
![]()
Variables
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
Then you could use those variables to construct a timestamp when the value of a variable changed:
View attachment 113124
Thanks for clarifying in such detail what exactly the problem is!Hello Warmuptill,
Thank you very much for the update. However, my test results remain unchanged—I still cannot get the updated outcome. Let me explain the situation in more detail using one of my macros with OCR conditions as an example.
Attachments:
- Macro Setup:
- I have a macro that includes an OCR condition targeting the runtime of a game. It performs OCR every 0.9 seconds to retrieve the game time via the macro property and writes it to a variable.
- View attachment 113139
- OCR game time
- View attachment 113142
- Post-Update Action:
- As per your update, I checked the option (shown in the screenshot) for all OCR-containing macros to skip sequential condition checks.
- View attachment 113147
- Observed Issue:
- The variable for the game time (retrieved via macro property) is not updating. This is evident from the timestamp of the last update.
- View attachment 113140
- Condition Verification:
- The condition itself is being met—I enabled the "flash green when condition is met/operation runs" feature and observed the correct green flashes.
- View attachment 113141
- Additional Test:
- I added a TEST01 variable that increments by 1 each time the macro runs. This part works correctly, confirming timely execution and updates.
- View attachment 113143
- TEST01 result
- View attachment 113144
- Manual Trigger Test:
- If I manually run the macro twice, the OCR result updates only for that triggered instance, but subsequent automated runs remain stuck without updates.
- View attachment 113149
- Workaround Discovery:
- When I uncheck the "skip sequential condition check" option for this macro, the OCR result updates properly and on time. Interestingly, other macros with OCR (which still have the option checked) do not interfere with this macro’s OCR execution—even those requiring longer processing time.
- View attachment 113146
- OCR game time result
- View attachment 113145
I’ve included some screenshots for reference. Since my system and variables are primarily in Chinese, please let me know if anything is unclear—I’m happy to clarify.
Once again, thank you so much for your efforts. I truly appreciate your support!
Thanks for clarifying in such detail what exactly the problem is!
The macro property not being assigned to the variable is exactly what I intended to fix with the most recent test build.
But I might have missed some corner case and will have another look.
Would you mind sharing yet another OBS log file with the most recent build?
Thanks! :)Yes, of course! Here is the log file.
@kanewesley Thank you so much for this detailed overview. I think I have been dealing with this thinking I was doing something wrong because I am new to using this.Hello Warmuptill,
Thank you very much for the update. However, my test results remain unchanged—I still cannot get the updated outcome. Let me explain the situation in more detail using one of my macros with OCR conditions as an example.
Attachments:
- Macro Setup:
- I have a macro that includes an OCR condition targeting the runtime of a game. It performs OCR every 0.9 seconds to retrieve the game time via the macro property and writes it to a variable.
- View attachment 113139
- OCR game time
- View attachment 113142
- Post-Update Action:
- As per your update, I checked the option (shown in the screenshot) for all OCR-containing macros to skip sequential condition checks.
- View attachment 113147
- Observed Issue:
- The variable for the game time (retrieved via macro property) is not updating. This is evident from the timestamp of the last update.
- View attachment 113140
- Condition Verification:
- The condition itself is being met—I enabled the "flash green when condition is met/operation runs" feature and observed the correct green flashes.
- View attachment 113141
- Additional Test:
- I added a TEST01 variable that increments by 1 each time the macro runs. This part works correctly, confirming timely execution and updates.
- View attachment 113143
- TEST01 result
- View attachment 113144
- Manual Trigger Test:
- If I manually run the macro twice, the OCR result updates only for that triggered instance, but subsequent automated runs remain stuck without updates.
- View attachment 113149
- Workaround Discovery:
- When I uncheck the "skip sequential condition check" option for this macro, the OCR result updates properly and on time. Interestingly, other macros with OCR (which still have the option checked) do not interfere with this macro’s OCR execution—even those requiring longer processing time.
- View attachment 113146
- OCR game time result
- View attachment 113145
I’ve included some screenshots for reference. Since my system and variables are primarily in Chinese, please let me know if anything is unclear—I’m happy to clarify.
Once again, thank you so much for your efforts. I truly appreciate your support!