GithubHelp home page GithubHelp logo

Comments (5)

never147 avatar never147 commented on May 18, 2024 1

from diablo2rloader.

shupershuff avatar shupershuff commented on May 18, 2024

Thanks, this is a good idea.
I had previously thought about this too but have held off implementing as essentially the script would need to constantly be running and checking running processes. Not sure how intensive this would be and I imagine the menu would flicker. It would also require concurrent processing to be performed which is something I've never tackled before in PowerShell.

You might see this in a future release, you might not if it's too tricky or comes with too much baggage.

from diablo2rloader.

shupershuff avatar shupershuff commented on May 18, 2024

I'm not sure that this is possible do perform with PowerShell's limitations. Separate PowerShell processes (or background jobs) can't relay input information into another PowerShell session. I will keep investigating but for now this seems unlikely. Happy to take any advice in this area, I'm still a bit of a novice when it comes to writing PS scripts.

An actual programming language could get around this easily but I'm not a programmer and I also want to keep this as just a script rather than an executable so people have visibility of what it is they're about to run.

from diablo2rloader.

never147 avatar never147 commented on May 18, 2024

Hey, just did a pull request for what I was thinking. Don't feel obligated to use it. Just thought I'd make a stab at it. It's the first PowerShell I've written so it's probably trash! haha.

from diablo2rloader.

never147 avatar never147 commented on May 18, 2024

Resolved by #13

from diablo2rloader.

Related Issues (16)

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.