![]() |
Timer Program and Launcher?
I would like to create a program that will run this other program called alarm.bat either X-minutes from now or at X:XX. Can someone give me a source code for a program like that (preferably in C or batch file)? I need it so it can run alarm.bat, which will beep and let me know to get off of my computer. Also, I need a launcher. I have a few pictures and I need a batch file to open them with IE or Firefox. Any help highly appreciated! :D
|
Re: Timer Program and Launcher?
Typically you'd just set a repeating timer and sleep until it goes off, then check the clock; if it matches the time an event is set at, then you launch the program, otherwise do nothing and go back to sleep.
So something like: Code:
for (;;)There is already a launcher in Windows; see Scheduled Tasks in Control Panel. |
| All times are GMT +5.5. The time now is 06:26. |