Git Product home page Git Product logo

Comments (4)

lebaston100 avatar lebaston100 commented on May 24, 2024

Hi. You need to make sure that whatever you use in lua to run the process just spawns the proces and doesn't wait for it.
I have no diea how that works in lua but a short google search found me something in the io.popen direction.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

I'll close this in the meantime, feel free to add more comments if you have any.

from miditoobs.

CJWestProductions avatar CJWestProductions commented on May 24, 2024

We now have this working, after modifying a lua script to run a command when a scene is active. Our script(linked below as a text file, as apparently you can't attach lua scripts, so if anyone wants to use, the extension can just be changed) runs the command once OBS is loaded, as well as whenever a scene (selected in the properties) is set to preview. The command I used is:

cd {your file path to the folder where MIDItoOBS is stored} &&  start /min RunMain.bat

the start /min runs it minimized, because otherwise it opens on top of OBS which is annoying. I just made a scene called "Refresh MIDI Controller", which can be run if an operator ever needs to refresh the script for some reason.

runMIDI.txt

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Awesome. Glad you got it working.

from miditoobs.

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.