Short: Shutdown/reboot at specified time Author: r-tea amiga pl (Artur r-tea Ostrowski) Uploader: r-tea amiga pl (Artur r-tea Ostrowski) Type: util/time Version: 0.9.3 Architecture: ppc-morphos Distribution: Aminet Once upon a time my wife's brother told me he got a nice little proggy which shuts down his computer (with Windows) while he watches a film, he got asleep and the film ends. I answered I don't have such a programm but I can create similar thing. And that was the purpose of creating this little clock / time utility. The second (and maybe more important) reason for which I created this program was that I love MUI as an user and as a "sunday programmer" :-) I consider MUI API as really cool and easy to use for not very experienced programmers like me. And I consider MUI GUI and all MUI's environment (from an user point of view) as the best environment one's ever seen. A long time had elapsed since my last attempts of programming, so it was a good opportunity to start it again :-) Now facts: Program was compiled on MorphOS 3.9 (MUI 5 debug) with GCC compiler, Source, with lots of comments, included. NOTE FOR USERS! Please, DO NOT iconify the program while active. It has a bug that I can't overcome with my skills. If you iconify it while it's activated it's simply stop "ticking" and become useless. NOTE ABOUT A COURCE CODE! This is not good exapmle of building proper MUI application. In fact this is the worst example of it :-) I used the main MUI loop and put there all the program handling events. This is the easiest way for "sunday programmers" but remember: the worst way to buid a serious MUI application, thus consider it as an example for very beginners. Feel free to distribute the source code, share with it, do any changes as well as copy all or parts of it. Just play with it and see how brilliant is MUI :-) Please, let me know if you found it useful in any way, either if you have any suggestions or comments. Would be nice to receive a grab of Daysleeper window with your MUI's favourite prefs :-) For those who want to play with my lame code :-) This is the command line string I used to compile the source: For GCC compiler: gcc -noixemul -o executable sourcecode -noixemul compiler uses libnix.library instead of ixemul.library. It makes output code much bigger but saves system recources - memory, disk operation etc. executable is the name of output code souurcecode is your program source code (with path if you need) For VBCC compiler: vc exec -+ -lauto -lmieee -o myprogram some explanatios: exec name of output code -+ to make use of C++ like comments -lauto don't know what for but needed :-) -lmieee to make use of mathematical standard ANSI C libs -o your program source code (with path if you need) MUI's author: Stefan Stuntz. Further developing by MorphOS Team. Amiga VBCC author: Frank Wille The clock icon comes from Aminet, from Alpyreicons1 set by Alper Sonmez. All other icons come from Aminet as well. HISTORY / CHANGE LOG ==================== 2013-11-20; v0.9; The first release; 2014-01-22; v0.9.2; Added nice icon and Appicon support; 2017-08-20; v0.9.3; Added screen title In Countdown mode program delays decreasing minutes counter (fixed)