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

Console commands for YAPA? #41

Open
Gennady-G opened this issue Dec 15, 2016 · 6 comments
Open

Console commands for YAPA? #41

Gennady-G opened this issue Dec 15, 2016 · 6 comments

Comments

@Gennady-G
Copy link

Gennady-G commented Dec 15, 2016

Hi! is it hard to add console commands (so I can start/sop YAPA from cmd script)?

Best regards,
Gennady

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40098471-console-commands-for-yapa?utm_campaign=plugin&utm_content=tracker%2F2840281&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2840281&utm_medium=issues&utm_source=github).
@floatas
Copy link
Collaborator

floatas commented Dec 16, 2016

Hi,
If I understand correctly, you want:

  1. Double click YAPA.exe
  2. Start console and execute yapa start (to start timer)

Or do you want to type "yapa.exe start" in console ?

@Gennady-G
Copy link
Author

Hi floatas!

Yes, second option: yapa.exe start/ yapa pause/ yapa stop, etc.

Best regards

@floatas
Copy link
Collaborator

floatas commented Dec 16, 2016

If you start yapa and then open CMD and execute "yapa /start" (/stop, /pause) it will work.

You can't start yapa with arguments, but you can send command when app is already running.

To do that you need to know where Yapa.exe is located, with click once this might be difficult. "Process explorer" can help to find exe.

@Gennady-G
Copy link
Author

Wow!! :) Cool!

"start", "pause" and "restart" works for me.

Best regards

@floatas
Copy link
Collaborator

floatas commented Dec 16, 2016

I suppose we can add /start to arguments, so you could start app and immediately start timer.

@Gennady-G
Copy link
Author

Thank You! As for me - I don't need it, I start Yapa with shell:startup folder.

cmd commands are cool and enough

Best regards

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

No branches or pull requests

2 participants