Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autostart #15

Open
ch1ckenstripper opened this issue Dec 8, 2023 · 4 comments
Open

Autostart #15

ch1ckenstripper opened this issue Dec 8, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ch1ckenstripper
Copy link

ch1ckenstripper commented Dec 8, 2023

Need a setting to autostart conversion process when launched, or a command line arg?

God tier app btw :)

@WalkerMx WalkerMx self-assigned this Dec 12, 2023
@WalkerMx WalkerMx added the enhancement New feature or request label Dec 12, 2023
@WalkerMx
Copy link
Owner

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

@ch1ckenstripper
Copy link
Author

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.

@WalkerMx
Copy link
Owner

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!

@ch1ckenstripper
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants