Coder Social home page Coder Social logo

Autostart about autocrispy HOT 4 OPEN

walkermx avatar walkermx commented on September 20, 2024
Autostart

from autocrispy.

Comments (4)

WalkerMx avatar WalkerMx commented on September 20, 2024

That shouldn't be too difficult, I'll see what I can do about adding this to the next release.

from autocrispy.

ch1ckenstripper avatar ch1ckenstripper commented on September 20, 2024

Thank you! I ended up copying the watchdog button code to somewhere in the beginning to run once when it starts. Janky but it works. I'll look forward to an official solution.
Call it crazy but as a untrained coder your project was the first open source thing I've tried to mess with that actually compiled. Not only that... it worked. I was so happy.
I also have another issue I found while doing that, which I'll open separately.

from autocrispy.

WalkerMx avatar WalkerMx commented on September 20, 2024

Well, the trick to going from an untrained coder to a nearly competent one is, surprisingly, coding 😉

Also, if you want, I can give you a quick tip on how to add the auto-start function - I'm not sure how soon I'll be doing a release, I've still got some other features that need debugging.

If you want to add a command-line switch to the program, just add this code right after line 82 in Form1.vb:

If Environment.GetCommandLineArgs.Count > 1 Then
WatchDogButton_Click(sender, e)
End If

Line 82 is this:

WatchDogButton.Select()

What this code does is make the application automatically start if you've passed any arguments to the program, for example:

AutoCrispy.exe -a

This is also a temporary solution, but hopefully less 'janky.'

Let me know if you have any questions!

from autocrispy.

ch1ckenstripper avatar ch1ckenstripper commented on September 20, 2024

Awesome! That's a nice and simple fix. Thanks for taking the time. And definitely much less jank! I already have a batch script set up so the change is easy. Anywho, I bookmarked your page so....
be seeing you!
be-seeing-you-john-wick-john-wick

from autocrispy.

Related Issues (18)

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.