SetTime 1.0 documentation DISTRIBUTION This software is FreeWare ! PURPOSE Set the correct time with a simple CLI script. Why I wrote this anyway ? Because I think it is simple but effective and mainly I haven't got a clock inside my Amiga. You can save about $25 with a bit work. You have to set the correct date only once a day, and the correct time at every startup procedure. And why is it worth ? Why you need a clock or this script ? - it is a must if you are a programmer, where your source files have to be maintained by a makefile - you can use fine the Workbench View by Date option - you can use other dir utils' date sort function - you have more chance to find the new files after an unneeded installation - you have more chance to find fileviruses SYSTEM REQUIREMENTS Any Amiga, works fine with min. Kickstart 2.0 and Workbench 2.0. It needs the C:Date command. INSTALLATION 1: Copy the SetTime script with icon to WBStartup, or execute it separately when you need. 2: Insert a line in the startup-sequence like this: C:Date 9-9-95 10:52 With this method you have to set the date only once a day (modifying the startup-sequence). The correct date is set after a completed startup procedure. USAGE Every day you turn on your Amiga, modify the startup-sequence to set the correct date. At every startup procedure set the correct time with this little script. You have to write only the time, ie. 10:52. If the time you set wasn't correct, the second window won't be displayed. So you have to try again. Set a hot key to do this. If you are sure that you won't write anywhere, you haven't got to do these. THE SCRIPT C:Date ? NIL: C:Date >CON:100/100/250//It's.../WAIT/CLOSE You can modify as you want this script. It's a script with some trick. ? - with this it will wait the input NIL: - with this the 'DAY,DATE,TIME,TO=VER/K:' won't be displayed >CON:... - with this the output window will be that /WAIT - with this the window won't be closed after displaying the time /CLOSE - with this you will have a close gadget You can close the window with a CTRL \ too. The second window won't be displayed if you set a wrong time, because the first date will return with a return code 20 (RETURN_FAIL) and the script will stop. HISTORY 1.0 - First public release. FUTURE No ideas. TESTED ON Amiga 1200 with: - 4 Mb fast ram, made by DERKO - 405 Mb Conner CFS425A winchester, 2.5"->3.5" adapter made by DERKO - 2x speed Sony CDU-55E CD-ROM OTHER PRODUCTS LessSeek 1.1 - Small validatewait like program on Aminet: disk/misc/LessSeek11.lha ChipPeek 2.0 - A practical mempeek with AGA support on Aminet: gfx/misc/ChipPeek20.lha THE AUTHOR Szabolcs Petho e-mail: petho@fa.gau.hu petho@spike.fa.gau.hu s-mail: Szabolcs Petho Gorkij krt. 81. 3104 Salgotarjan HUNGARY Send your suggestions, bug reports, if you have ! Bye, Szabolcs