home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 134 / af134a.adf / ClockCal.lzx / ClockCal / ClockCal.readme < prev    next >
Encoding:
Text File  |  1999-12-31  |  7.7 KB  |  189 lines

  1. Short:    WB Calender/World Clock with 4 clock faces
  2. Author:   mike@mikech.demon.co.uk
  3. Uploader: mike@mikech.demon.co.uk
  4. Type:     util/wb
  5.  
  6. 1. INTRODUCTION
  7.  
  8. ClockCal opens a window on your WB containing up to  four
  9. analogue clock faces which can be configured to show  the
  10. current  time  in  different  world  locations,  with  or
  11. without  Daylight Saving Time in force, plus  a  calendar
  12. for  the  current (or any other) month. Gadgets exist  to
  13. toggle  the  display between just the  clocks,  just  the
  14. calendar  or  both.  Events may be noted  for  particular
  15. dates and those days will be highlighted in the calendar.
  16.  
  17. The  window sizing takes account of the title bar  height
  18. so should work irrespective of your system font, and safe
  19. guards  exist  to  prevent the  window  failing  to  open
  20. because  part of it is off screen etc. (since the  window
  21. changes size depending on how many clocks you have active
  22. and whether the calendar is on).
  23.  
  24. I  wrote  this  programme for  my  own  use  and  do  not
  25. anticipate  further development. It is Freeware.  If  you
  26. find it useful complements are always welcome!
  27.  
  28.  
  29. 2. INSTALLATION
  30.  
  31. None required. Copy the directory wherever you want it.
  32.  
  33.  
  34. 3. USAGE
  35.  
  36. Double  click the ClockCal icon. The window will open  in
  37. the  same  state as last time you closed it, in the  same
  38. position on the screen.
  39.  
  40. 3.1 CONFIGURING THE CLOCKS
  41.  
  42. The  Clocks.. gadget opens a new window containing a  set
  43. of  gadgets for each of the four possible clocks.  It  is
  44. essential that Clock 1 is set to show your local (system)
  45. time,  but with the correct time zone difference and  DST
  46. setting, as this clock is used to calculate GMT, which in
  47. turn  is used to calculate all the other clocks. Clock  1
  48. need  not be on, but it must be set right. Clocks with  a
  49. tick  in the ON checkbox will be displayed in the window.
  50. When  the DST checkbox is ticked the clock will have  the
  51. DST value (usually 1 hour) added to it. Note the timezone
  52. is set using a GMT +/- cycle gadget and a number of hours
  53. and  minutes  - do not put a sign in the time  difference
  54. box.
  55.  
  56. Close the window for the new settings to take effect.
  57.  
  58. 3.2 USING THE CALENDAR
  59.  
  60. The month displayed by the calendar always starts off  as
  61. the  current month. The cycle gadget enables you to  view
  62. different months (remember that the Shift key makes  this
  63. cycle  backwards!).  Going from December  to  January  or
  64. January  to December will also change the year,  but  any
  65. year  may be viewed by typing a different year in to  the
  66. year  gadget. The two tiny buttons beside the year gadget
  67. provide a convenient way of shifting the year up or  down
  68. by  one.  Note  that events will not be  highlighted  for
  69. years  before  1978.  I do not believe  the  calendar  is
  70. reliable for extreme dates but should be OK for the  next
  71. 40  years or so at least. (It shows 1900 and 2100 as leap
  72. years  - which they are not - although 2000 is, and  that
  73. is  correctly displayed (The full rule for leap years is:
  74. Years  exactly  divisible  by 4  are  leap  years  EXCEPT
  75. centenary   years,   but  in  the  case   of   millennial
  76. centenaries  like 1000 or 2000 they ARE leap  years  -  I
  77. think!)).
  78.  
  79. Clicking on a day will open the notes window, which lists
  80. events  noted for that date. Up to 20 one-line notes  can
  81. be  entered for a given date. Use the mouse to  highlight
  82. any existing note or an empty line. The text for the note
  83. can  be entered in the text gadget. The "Annual" checkbox
  84. should  be ticked for events like birthdays which  happen
  85. every  year,  and left clear for events like appointments
  86. which  relate  to  a specific date. These  two  different
  87. kinds  of events are highlighted in different colours  on
  88. the   calendar   (appointments  taking  precedence   over
  89. birthdays where both occur on the same day). You may also
  90. set  a number of days in the "Warning" gadget, which will
  91. put  up a reminder when the programme is started.  Use  0
  92. for no reminder.
  93.  
  94. After  setting these gadgets, use the SET button  to  set
  95. the  note. To delete a note, select it with the mouse and
  96. press DELETE. In either case the changes will not be made
  97. permanent  until you exit the window with the OK  gadget.
  98. The CANCEL gadget will discard the changes.
  99.  
  100. The  "Purge old events" checkbox causes old events to  be
  101. removed  from  the eventlist, but obviously those  marked
  102. "annual"  will  not be removed. Events are  only  removed
  103. when  new  notes  are set or deleted, but  there  is  one
  104. exception to this - when you check the purge checkbox for
  105. the  first  time, or uncheck it and check it  again,  old
  106. events  will  be deleted there and then. Thereafter  they
  107. will  only be removed when some other change is  made  to
  108. the  eventlist.  Note  that the  purge  checkbox  is  NOT
  109. associated with a particular date or a particular note.
  110.  
  111. The  "List  All" gadget lists the actual text file  which
  112. stores  the  events, using an external text  viewer.  The
  113. default is C:More, but you may change this in the fconfig
  114. file (see below).
  115.  
  116. The  three  slim buttons across the bottom of the  window
  117. have  the  following functions: the leftmost  resets  the
  118. calendar to the current month and year. The middle one is
  119. the  "only  show calendar" button, which  will  hide  the
  120. clocks.  If the clocks are already hidden, however,  they
  121. will  be restored by this button. Similarly the rightmost
  122. button  is the "only show clocks" gadget which will  hide
  123. or  restore the calendar. If only the clocks or only  the
  124. calendar  are  visible, you can toggle  between  them  by
  125. pressing  the appropriate button (if clocks  are  visible
  126. the  "only  show  calendar" button  will  switch  to  the
  127. calendar,  and  then the "only show clocks"  button  will
  128. take you back to the clocks).
  129.  
  130.  
  131. 4. OTHER CONFIGURATION OPTIONS
  132.  
  133. 4.1 fconfig file
  134.  
  135. This  is  a simple text file which should be in the  same
  136. directory  as the executable. You can use it to  set  the
  137. fonts  and colours used, and also the text viewer invoked
  138. to  list  all events. You can also change the file  names
  139. and locations for the eventlist and prefs files. The file
  140. that  is  included with the archive has all the  possible
  141. options  set.  Internal defaults exist in the  executable
  142. for  any which are missing from this file or if this file
  143. itself is missing.
  144.  
  145. See fconfig itself for more information.
  146.  
  147. The  two  fonts which can be set are for the gadget  text
  148. and  the  clock  and calendar text. The  latter  (set  in
  149. fconfig  as,  say _8X8_FONT=p0t-noodle.font)  must  be  a
  150. fixed 8x8 font.
  151.  
  152. The  colours  are  the first and last four  from  the  WB
  153. palette  and  should  remain correct regardless  of  your
  154. screen depth. Which are used for each part of the display
  155. may be changed in fconfig (rather laboriously, I admit).
  156.  
  157. 4.2 lconfig file
  158.  
  159. The  lconfig file contains all the text strings  used  in
  160. the  programme.  If it is not present then  the  internal
  161. English  defaults will be used, however, by changing  the
  162. strings  in  this  file it is possible  to  localise  the
  163. programme  for other languages. Care must be  taken  that
  164. the strings are entered in the same fixed order, and that
  165. they   consist  of  approximately  the  same  number   of
  166. characters.  The  strings for days and months  must  have
  167. spaces (for the days) and | dividers (for the months)  as
  168. in the English version. See lconfig for more details.
  169.  
  170.  
  171. 5.  TECHNICAL NOTES
  172.  
  173. Most  of  the time the programme sits idle, only checking
  174. for input every quarter of a second. This means there may
  175. be a slight delay when you first hit a gadget. As soon as
  176. a   gadget   is   hit   however,  the  programme   checks
  177. continuously for input, until a full minute  passes  with
  178. no user-action, when it goes back to its standby state.
  179.  
  180.  
  181. 6. OTHER INFO
  182.  
  183. Author:   Mike Child     mike@mikech.demon.co.uk
  184. Tools used:    Blitz Basic 2.1
  185. Written on:    A1200 Apollo060@66 32MB WB3.0
  186.  
  187. Thanks   to   the   subscribers  to   BlitzList   (blitz-
  188. list@netsoc.ucd.ie) for solving some queries.
  189.