Welcome Guest.   Make a donation to an author on the site August 01, 2014, 04:50:56 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: simple (crude even) alarm clock  (Read 1408 times)
eleman
Supporting Member
**
Posts: 265

see users location on a map View Profile Give some DonationCredits to this forum member
« on: May 31, 2012, 04:42:31 AM »

I wrote this one to discipline my work hours and increase my productivity. It's a very very crude alarm clock that you control with the Scroll Lock key.

Press the scroll lock key once and it asks you when should the alarm bell ring. Enter desired time in the HHmm format (i.e. 1830 for 6:30 p.m.) and don't turn off the computer.

The program is very crude, and it does not check the validity of the time you entered. So don't set the alarm to 18301 or to minnesota. Nothing serious should happen. It just wouldn't ring.

To change the alarm time or disable the alarm, press scroll lock again and read the instructions (two short lines, really).

Anyway, the source code is in the archive. There is also the compiled exe. Place alarm.wav in the same folder with the exe, and just run the exe.

Let me know if you like it.

* alarmclock.7z (238.94 KB - downloaded 87 times.)
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.025s | Server load: 0.02 ]