ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

[DONE] Command line timer for a computer with screen off, like a better pause.ex

<< < (2/3) > >>

publicdomain:
Local server, 192.168.0.232.
But I only need the timer part, the call to ther server can be done with curl.
-user45454 (March 16, 2021, 06:41 PM)
--- End quote ---

Got it! DonationTimer.exe it is with DonationTimer.wav as sound file :Thmbsup:

I'm @ it! https://github.com/publicdomain/donationtimer

UPDATE: Code's finished :)

publicdomain:
DonationTimer.exe it is with DonationTimer.wav as sound file
-publicdomain (April 02, 2021, 11:21 PM)
--- End quote ---



Download & info: https://www.dcmembers.com/publicdomainvic/download/donationtimer-v0-1-0/

Forum thread: https://www.donationcoder.com/forum/index.php?topic=51271.0

You can use any sound file you want by placing it in the same folder & renaming it to "DonationTimer.wav" :)

(If there's no sound file it beeps)

Enjoy!
Vic

KodeZwerg:
@vic: your fliesystem looks crazy "C:\DonationTimer\donationtimer\DonationTimer\..." did not tested program, just only curious looked at image  :huh:

But I bet it works like you said, never had trouble with your Applications so far!

publicdomain:
@vic: your fliesystem looks crazy "C:\DonationTimer\donationtimer\DonationTimer\..."
-KodeZwerg (April 03, 2021, 04:42 PM)
--- End quote ---

haha indeed!  :) There's a little "software story" there!


* DonationTimer   Parent directory for the program
      INFO, IMG, Release
* donationtimer   GitHub information
      Readme, LICENSE, .git
* DonationTimer   Destination folder as chosen manually for the solution
* DonationTimer   Target sub-folder created by the IDE automatically
      Program.cs, Solution file, resources, generated output
* bin      Program binaries
      Debug, Release
* Release      Compiled executable for distribution
* DonationTimer.exe Public program


There you go, sharp friend!

(Image bonus: Why 7590, then 759? K = Decimal ASCII 75, Z = Decimal 90 --had to make this one for you here  :Thmbsup:)

Cheers & lots of love! :-*
Vic

KodeZwerg:
(Image bonus: Why 7590, then 759? K = Decimal ASCII 75, Z = Decimal 90 --had to make this one for you here  :Thmbsup:)
-publicdomain (April 03, 2021, 07:32 PM)
--- End quote ---
Solution, do a "length(string) mod 2" check to choose a correct string to integer direction/translation :)
(if result is 0 you have something dividable by two, for example a string with length of 4 '7590', so you can add 2 chars from that string,
but i do not know how your program handle invalid integers like 75h 90m
(hours should just go to 23, minutes should just go to 59, everything higher should result in recalculation of wanted time amount),
have you got 90m -> [add to final time amount] + 1h 30m calculation integrated? ^_^

With my own little unfinished calendar thingy I do recalculate everything up to years, month, days, hours, minutes, seconds, milliseconds, nanoseconds [last two only internal]
my base is milliseconds, from there I do add everything to have final time)

If that matters at all,
keep it up!

Join us on Discord ;-)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version