Giter Site home page Giter Site logo

Comments (4)

themegaxandy avatar themegaxandy commented on June 24, 2024 1

Thanks for reading my feedback and keeping it in mind! Your explanation was clear and understandable. So I'll close the issue for now, and don't worry I'll find a way to optimize my macros. If I need any additional help, I'll post it on the OBS forum.

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 24, 2024 1

I will leave the issue open just in case I find myself having a lot of free time on my hand and want to work on this :)

And it will make it easier for others to find this issue in case they want to request something similar.

from sceneswitcher.

WarmUpTill avatar WarmUpTill commented on June 24, 2024

Thank you very much for the suggestion and extensive write-up!

I do agree that this would be a neat way to extend the functionality of the plugin, but I have to be honest and say that I likely won't have the time to implement something like this any time soon.

Feel free to contact me directly if you need support / ideas on how your current macro setup might be improved to avoid race conditions.

A possible less expensive solution is: In the "Macro" action of the plugin, where we define it to run actions from a specific macro, there could be a check box to wait for the conditions of the selected macro. Because currently, this action only runs the macro actions regardless of their conditions.

Adding the checkbox to the UI would be easy, but I think the functionality would be quite tricky to implement.
Since macros are executed sequentially this could very easily lead to deadlocks, which of course would be undesirable.
But I will keep it in mind and try to think of something.

from sceneswitcher.

Destroy666x avatar Destroy666x commented on June 24, 2024

Tasker is much more advanced and the prime example to be used for automation apps IMO (except that Automate is more user-friendly). E.g. with concept of states which are kind of like if/else here but more advanced and refined. Generally with more possibilities in terms of flow.

A possible less expensive solution is: In the "Macro" action of the plugin, where we define it to run actions from a specific macro, there could be a check box to wait for the conditions of the selected macro

This could be just replaced by "Run macro" action instead, which would do the whole flow of macro (condition -> if/else action), which would be more user-friendly. Or perhaps a different concept of "functions" runnable only from macro actions could be introduced, but that's even more work ofc.

Another workaround for your use case of TTS would be something like "wait until" action also available in Tasker. E.g. wait until a variable is set to value and then a macro that checks if a text file changes and sets a var to its contents. Then the command could modify the text file once earlier process finishes. But probably not easy to implement either with how this plugin works now.

from sceneswitcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.