home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / charges / !Charges / Docs / Manual < prev    next >
Encoding:
Text File  |  1994-03-12  |  21.8 KB  |  574 lines

  1. Charges                                     (v 1·70)
  2. -=-=-=-
  3.  
  4. © 1992-4  Richard G. Hallas
  5. ____________________________________________________
  6.  
  7. Charges is a work manager application for monitoring
  8. the time spent working at the computer. The program
  9. is intended for those people who earn a living
  10. working at their machines, charging a fixed hourly
  11. rate. It can cope with numerous jobs simultaneously.
  12.  
  13. *WARNING*
  14. =========
  15.  
  16. Charges needs to write data into itself quite
  17. frequently, and so should not be used from a write-
  18. protected disc or from a read-only filing system
  19. (such as the public domain ArcFS). The best place
  20. for it is a hard disc, although it should run from
  21. an unprotected floppy.
  22.  
  23. Loading
  24. =======
  25.  
  26. Double-click on the Charges application; after a
  27. short pause it will install itself on the icon bar
  28. as usual. The application needs to have seen System
  29. first of all, so if you experience any problems,
  30. make sure your directory viewer containing System
  31. has been opened on the desktop.
  32.  
  33. Charges needs two modules from the !System.Modules
  34. directory, namely 'MsgTrans' and 'Interface'. If
  35. your System lacks either of these modules, or you
  36. find that your copies of either of them are out of
  37. date, you should update your System with the copies
  38. provided in the !Charges.Resources directory.
  39.  
  40. Using Charges - Overview
  41. ========================
  42.  
  43. Charges presents itself as a kind of icon bar timer,
  44. displaying hours and minutes beneath its icon.
  45. Seconds are not displayed explicitly, but the colon
  46. separating hours and minutes winks once every second
  47. when the timer is counting.
  48.  
  49. Click the icon with Select to start and stop the
  50. timer. A small beep will sound. The timer can be
  51. reset when it is not counting by clicking on the
  52. icon with Adjust. (A different beep will sound.)
  53.  
  54. You should open the application's menu (by clicking
  55. Menu on the icon), move across to the Earnings
  56. window, and enter your hourly rate in the box
  57. provided. If you want to work in different
  58. currencies, click a mouse button over the symbol you
  59. wish to change, and a menu of options will appear.
  60. If the currency you want to use is not available on
  61. the menu, you can type it in, as the last item on
  62. the menu is writable. When everything is set up as
  63. you want it in the window, click on the 'Set'
  64. button.
  65.  
  66. If you are working in different currencies, you
  67. should open the Exchange rate menu (off the main
  68. menu) and enter the appropriate value. This will
  69. then be taken into account when calculating your
  70. running total in the Earnings window. You must
  71. remember to press <Return> or <Enter>, or click on
  72. the value with the mouse, otherwise your change will
  73. be ignored. Note that exchange rates are stored in a
  74. database. See below, under "The Exchange rate menu
  75. item", for further details of this feature.
  76.  
  77. You can start and stop the timer at any point. If
  78. you wish to spread a single job over more than one
  79. session, you may wish to quit Charges and restart it
  80. later with the clock starting at where you left off.
  81. This can easily be done: open the Options window and
  82. click on the 'Get time' button. The time on the
  83. clock will be transferred into the window, and you
  84. can edit it if you wish. The click on the 'Save
  85. settings' button, and wait for the confirming beep.
  86. You can then quit Charges, and when you reload it
  87. the previous time will be already on the clock.
  88.  
  89. For a more comprehensive system which lets you swap
  90. between several jobs, see below under 'Job manager'.
  91.  
  92. If you wish to use your final total in an invoice
  93. you are preparing in a word processor (for example),
  94. you don't have to type it in again; simply place the
  95. caret where you want the amount to appear, and drag
  96. the total from the Earnings window to your invoice.
  97. Charges will enter the amount for you.
  98.  
  99. Charges provides full interactive help when used in
  100. conjunction with Acorn's Help or Spy applications.
  101.  
  102. Using Charges - In detail
  103. =========================
  104.  
  105. The Earnings window
  106. -------------------
  107.  
  108. Your hourly rate should be entered into the top box.
  109. The currency symbols displayed alongside the hourly
  110. rate and job's total figures are used by Charges to
  111. look up an exchange rate in its database. There is
  112. not necessarily an entry in the database for each
  113. combination of currency symbols: Charges will only
  114. record the exchange rates that you use, and if you
  115. select a pair of currencies which you have not used
  116. before, Charges will restore an exchange rate of 1.
  117. The lower box in the Earnings window, labelled
  118. "Job's Total", is bordered in red to indicate that
  119. you can drag its contents out into another package,
  120. so you can, for example, drop your final total into
  121. an invoice you are preparing in a word processor.
  122. Alternatively, you can drag it to a filer window,
  123. and the value will be saved as a text file with the
  124. filename "Total". Both the currency symbol and the
  125. figure itself are included.
  126.  
  127. (Cosmetic note: RISC OS 3 users get a very nice
  128. effect when dragging the total out, as the whole box
  129. is dragged with the pointer, but in a translucent
  130. form, and the effect is like sliding a piece of
  131. engraved glass or plastic around the desktop.)
  132.  
  133. The total is calculated by first working out the
  134. amount totted up so far according to the clock, and
  135. then multiplying it by the value entered in the
  136. Exchange rate menu, so if you just want a straight
  137. 'job total' without any conversion taking place, you
  138. should ensure that the exchange rate is set to 1.
  139.  
  140. Any alterations you make in the Earnings window
  141. (either to the currency symbols or the hourly rate)
  142. will only be taken into account if you click on
  143. 'Set'
  144. - if you click 'Cancel' or close the window by any
  145. other means, the changes will be ignored. The
  146. appropriate exchange rate is not retrieved from the
  147. database until you click on 'Set'.
  148.  
  149. If you alter your hourly rate (by clicking on the
  150. figure) when the calculated total is not zero, the
  151. total will clear to 0.00 until you accept your new
  152. rate by clicking on 'Set'. At this point, the total
  153. will be recalculated. Note that the total is always
  154. displayed to two decimal places, rounded down to the
  155. nearest penny (or smallest denomination).
  156.  
  157. Note also that whatever currencies you enter in the
  158. Earnings window will also be used in the Conversions
  159. window (see below).
  160.  
  161. The Conversions window
  162. ----------------------
  163.  
  164. This is simply a convenience window: you can quickly
  165. enter a figure in the top slot and press <Return>,
  166. <Enter> or click on the arrow, and it will be
  167. multiplied by the current exchange rate in force and
  168. displayed in the lower slot to two decimal places.
  169. The currency symbols entered in the Earnings window
  170. are used in the corresponding currency slots in the
  171. Conversions window. As with the Earnings window, the
  172. converted amount (in the lower slot) can be dragged
  173. out to another application or to a filer directory,
  174. where it will be saved as a text file with the name
  175. "Conversion".
  176.  
  177. As well as providing a quick way to convert between
  178. two currencies, the Conversions window can be handy
  179. for working out VAT rates: if you enter a value of
  180. 1.175 in the Exchange rate slot (corresponding to
  181. 17½% VAT), the converted amount will be the price
  182. of the amount you entered with VAT added. Remember,
  183. though, to set the exchange rate back again, or your
  184. running total will be wrong! A sample 'job' is
  185. provided for this specific purpose: see later, under
  186. 'Job manager'. Alternatively, you can set up an
  187. appropriate exchange rate for the main currency to
  188. the '+ VAT' currency.
  189.  
  190. Unlike the Earnings window, the Conversions window
  191. has no 'Set' and 'Cancel' buttons; any changes you
  192. make will be accepted immediately.
  193.  
  194. The Exchange rate menu item
  195. ---------------------------
  196.  
  197. This simply gives the multiplier used by the
  198. Earnings and Conversions windows. If you enter a new
  199. amount in the slot, you must remember to click on it
  200. with the mouse, or press <Return> or <Enter>;
  201. otherwise your change will be ignored.
  202.  
  203. For any given pair of currencies displayed in the
  204. Earnings or Conversions window, there can be one
  205. possible exchange rate. If you have not specified
  206. an exchange rate, the computer will assume a value
  207. of 1 is wanted, and "1" will be entered into the
  208. Exchange rate menu. You can of course edit this, and
  209. when you press <Return> or <Enter>, or click on the
  210. value with the mouse, Charges will ask you whether
  211. you want to store the exchange rate for future use.
  212. Simply click on 'Yes' or 'No' at this point: if you
  213. click 'Yes', then the exchange rate will be added to
  214. the database if it isn't there already, or updated
  215. to the new value. You are not obliged to always
  216. store the exchange rate, or even use the database at
  217. all: simply click on 'No', and nothing will change.
  218. Note that Charges never stores the exchange rate if
  219. both currencies are the same.
  220.  
  221. When you change currencies in the Earnings window,
  222. and click on the 'Set' button, the exchange rate
  223. will be automatically restored if it has been used
  224. previously; otherwise a value of 1 is used.
  225.  
  226. Since exchange rates fluctuate constantly it is not
  227. possible to store them accurately, so if you want
  228. anything other than an approximate result, you
  229. should remember to check the exchange rate each time
  230. you change currencies, and update the database as
  231. appropriate.
  232.  
  233. The Job manager
  234. ---------------
  235.  
  236. This is one of Charges' most advanced features, and
  237. you can quite happily get away with not using it if
  238. you only ever work at one job at a time. However,
  239. it is an easy-to-use and flexible system, which is
  240. worth getting to know.
  241.  
  242. Basically, if you do not use the job manager, or you
  243. do not specify a current job, Charges keeps its
  244. records in a file called '☓'. (If something ever
  245. goes wrong, you may see an error message which
  246. refers to this job file.) The time shown on the
  247. clock, the exchange rate, the 'charge whole hours'
  248. setting, your hourly rate and the two currency
  249. settings are all stored in this file.
  250.  
  251. These are the things which will change from job to
  252. job. The other settings, such as the 'Charge from'
  253. time (which the clock resets to), the 'show
  254. time/earnings' setting and the configured language
  255. (see below, under 'The Options window') are much
  256. more general, and do not need to change very often.
  257. These can be saved from the Options window (see
  258. below).
  259.  
  260. However, the job-dependant settings mentioned above
  261. can be saved as individual 'jobs', to each of which
  262. you assign a name. You can then switch between jobs
  263. quite freely.
  264.  
  265. Open the Job manager window, and you will see a box
  266. with a name in it and three buttons, which are often
  267. shaded out so you can't press them. They only become
  268. available when they are needed. There is a Jobs menu
  269. attached to this window, which can be called up by
  270. clicking over the name or the menu arrow. The menu
  271. always contains at least two items: a blank initial
  272. item and a second bracketed command which tells
  273. Charges to revert to 'no job' (the default state).
  274. In fact, selecting the top writable item when it is
  275. empty is the same as choosing 'no job'. In addition
  276. to these two items there will be a list of however
  277. many jobs Charges currently knows about (which can
  278. be from 0 to 76 items).
  279.  
  280. If you enter a name into the top item of the menu
  281. and press <Return> or <Enter>, the name will be
  282. entered into the box in the window and the 'Create
  283. job' button will become available. Click on this
  284. button, and from now on Charges will be working on
  285. the job you have specified. Any changes you make in
  286. the Earnings window, or to the exchange rate or
  287. 'charge whole hours' setting, will be recorded in
  288. that specified job. If you enter a duplicate job
  289. name, you will be informed when you try to create
  290. the second version. The original will be preserved.
  291. You can load and examine the job files in Edit (or
  292. similar) if you wish. They contain notes showing
  293. what each line is for.
  294.  
  295. You don't have to worry about keeping the job files
  296. up to date: Charges does all that for you. Whenever
  297. you stop the clock, quit the application or change
  298. jobs, the current job file will be updated for you
  299. automatically. In addition, when you quit Charges
  300. it will remember the job you were working on, and
  301. restore it next time you load the application.
  302.  
  303. Assuming you have one or more job files created,
  304. you can swap between them by choosing them from the
  305. Jobs menu and clicking the 'Restore job' button
  306. which will have become available. (Note: don't try
  307. to restore a job by typing its name into the top
  308. menu item, as this is exclusively for creating new
  309. jobs. Choose the job from the menu instead.) If you
  310. forget to click on the 'Restore job' button nothing
  311. will happen, and you will continue working on the
  312. old job, so be careful.
  313.  
  314. Note: when you choose a job to restore from the Jobs
  315. menu, you must remember to press the 'Restore job'
  316. button. However, if you choose '(No job)' from the
  317. menu, the effect is immediate, and you don't have to
  318. press the button. To indicate there is no current
  319. job, '(None)' will be entered in the box in grey.
  320.  
  321. Whenever a job is shown in the box, the 'Delete job'
  322. button will be available. If you delete the job you
  323. are currently working on, then Charges will revert
  324. to its default 'no job' state. However, you can
  325. choose a job from the menu and delete it (without
  326. having to restore it first), in which case the
  327. job you are currently working on will be returned
  328. to the box.
  329.  
  330. The job-box always shows the name of the current job
  331. when you open the Job manager window. Clicking on
  332. any of the three buttons in this window with Select
  333. will perform the operation and close the window,
  334. whilst clicking with Adjust will keep the window
  335. open. This is useful if you want to delete several
  336. jobs at once, or if you simply want to check that
  337. the operation has worked.
  338.  
  339. One thing to note about the job files is that they
  340. contain the Exchange rate as it appears in the menu.
  341. Therefore, they are not necessarily the same as the
  342. exchange rates stored in the database: you may, for
  343. example, have entered a particular exchange rate in
  344. the slot, and replied 'No' when asked if you wanted
  345. to update the database. If you want to ensure that
  346. an exchange rate is the same as its database entry
  347. when you restore a job, go into the Earnings window
  348. and click on 'Set'. This will look the exchange rate
  349. up again.
  350.  
  351. A sample job file is provided, called 'VAT Calc'.
  352. This contains no hourly rate, but has an exchange
  353. rate of 1.175, so if you enter a figure in the
  354. Conversions window, the result will be what you get
  355. if you add 17½% VAT.
  356.  
  357. A final remark: the names you use in the job manager
  358. are used by Charges as file names. Since there are
  359. restrictions on the contents of file names, the same
  360. restrictions must be observed by Charges. You will
  361. therefore find that there are some characters which
  362. you cannot enter in job names. One such character
  363. is the space, although you can get around this by
  364. using a Hard Space instead (which is obtained by
  365. pressing the space bar in conjunction with the Alt
  366. key).
  367.  
  368. The Options window
  369. ------------------
  370.  
  371. As with the Earnings window, any change you make in
  372. this window will be ignored unless you click on the
  373. 'Set' button.
  374.  
  375. The 'Charge whole hours only' switch affects the
  376. running total displayed in the Earnings window. If
  377. selected, it will calculate the total in terms of
  378. whole numbers of hours worked only, and ignore
  379. minutes. Note that the hours are rounded up at the
  380. thirty minute mark, e.g. 2 hours 30 minutes would
  381. count as 3 hours.
  382.  
  383. The 'Charge from' area lets you set the 'base value'
  384. of the clock. So if you have a fixed minimum charge
  385. of one hour, say, you can enter the time in this
  386. area, and whenever you reset the clock on the icon
  387. bar, it will go to the time you specify rather than
  388. to zero.
  389.  
  390. The 'Get time' button will transfer the time being
  391. displayed on the clock into the 'Charge from' area.
  392. This can be quite useful if you want to quit Charges
  393. and reload it later, and you want it to continue
  394. from where you left off. If, say you have done
  395. 2 hours and 25 minutes' worth of work according to
  396. the clock, you can click on 'Get time' and 'Save
  397. settings', and then quit the application. Next time
  398. you load it, the clock will be displaying '2:25',
  399. and you can continue your work. However, assigning
  400. the work to a job file in the job manager is the
  401. preferred method for achieving this.
  402.  
  403. The 'Save settings' button will save the current
  404. state of the application, and that state will be
  405. restored when you next run it. Note that clicking
  406. 'Save settings' will in fact also click on 'Set' on
  407. your behalf, just in case you had forgotten to do it
  408. yourself. This is more convenient, and avoids
  409. confusion.
  410.  
  411. The settings saved are as follows:
  412.  
  413.  The two currency symbols in use;
  414.  The custom (writable) item in the Currency menu;
  415.  The hours and minutes entered in the 'Charge from'
  416.    area.
  417.  The state of the Charges icon (showing time or
  418.    earnings).
  419.  
  420. The settings are saved in a file called 'Settings'
  421. within the application directory, along with some
  422. notes. You can edit this file if you wish, but it is
  423. probably easier just to save the settings from the
  424. Charges application itself.
  425.  
  426. The 'Icon bar' area allows you to switch between two
  427. options: 'Show time' and 'Show earnings'. These
  428. dictate what the text below the icon bar icon will
  429. be: either the time elapsed, or the amount earned.
  430. There are a few points to note here:
  431.  
  432. • If the earnings are displayed, then the elapsed
  433. time will be shown in a portion of the Earnings
  434. window which is otherwise left blank.
  435.  
  436. • In order to save space, the currency symbol is not
  437. shown under the icon.
  438.  
  439. • The icon can only display up to 7 characters, so
  440. if the earned amount is longer than this it will be
  441. truncated, and a '⇨' character printed at the right-
  442. hand end of the figure.
  443.  
  444. • In order to distinguish between the time and
  445. earnings displays, there are a couple of obvious
  446. differences between them:
  447.   (a) The Time display starts with leading zeros
  448.       whereas the Earnings display does not.
  449.   (b) The Earnings display contains a proper decimal
  450.       point character (·) whereas the Time display
  451.       contains either a full stop (.) or colon (:).
  452.  
  453. The 'Country' area shows which country Charges is
  454. set up for. Clicking on the country name will bring
  455. up a menu of available options, and choosing a
  456. different one and clicking 'Set' will rebuild the
  457. entire Charges application in the chosen language.
  458. See the documentation file 'Messages' for more
  459. details.
  460.  
  461. The Currencies menu
  462. -------------------
  463.  
  464. This simply provides a list of some commonly used
  465. currencies which can be entered as labels. You can
  466. type into the bottom menu item for custom labels,
  467. and the contents of this item are saved when you
  468. save the general settings of the application.
  469.  
  470. The contents of the Currencies menu are defined
  471. in a file called 'Currencies' within the application
  472. directory. You may edit this if you wish. The
  473. entries are in alphabetical order, with symbols at
  474. the top; please adhere to this order if you just
  475. want to add one or two extras. If you believe the
  476. default list should be changed for any reason,
  477. please contact me. Note that the Currencies menu
  478. entries may only be five characters long; any extra
  479. characters will be ignored.
  480.  
  481. The bottom item in the list (apart from the writable
  482. one) is called '+ VAT', and is useful for converting
  483. between a currency and a 'currency + VAT'.
  484.  
  485. IMPORTANT
  486. =========
  487.  
  488. In the Earnings and Options windows, YOU MUST NOT
  489. FORGET to click on the 'Set' button, or else the
  490. changes you have made to the windows' contents will
  491. not be retained. Similarly, you must remember to
  492. press <Return> or <Enter>, or click on the value
  493. with the mouse, when you modify the Exchange rate
  494. menu's contents.
  495.  
  496. Colours
  497. =======
  498.  
  499. It is possible to define the colours (foreground and
  500. background) used by the text below the Charges icon
  501. on the icon bar. The default is black on light grey,
  502. but any colours in the desktop palette may be used.
  503. You can change the colours by editing Charges' !Run
  504. file, which contains instructions at the appropriate
  505. point.
  506.  
  507. Technical notes
  508. ===============
  509.  
  510. Charges uses Simon Huntingdon's excellent Interface
  511. Manager module version 2·00 to provide its
  512. attractive 3D icons and extra pointer shapes. The
  513. Interface module and its documentation is provided
  514. in the !Charges.Resources directory. MessageTrans
  515. is also used to handle all the program's text, so
  516. that other language versions can easily be provided.
  517.  
  518. The pointer shapes for 'menu available' and
  519. 'writable icon' exist in standard and high
  520. resolution versions, and these are correctly
  521. displayed according to the screen mode currently in
  522. use. All graphics have been designed to look as good
  523. as possible in whatever mode is being used.
  524.  
  525. Charges makes quite a novel use of the standard menu
  526. system. Because of this, certain features operate
  527. slightly differently from usual, but this could not
  528. be avoided. When you choose items from the menu (for
  529. example, if you click on 'Earnings' rather than
  530. moving over the '⇨' arrow) the window will open but
  531. the menu itself will not close. This is because
  532. the windows, off the main menu, can themselves have
  533. submenus which appear over them (the Countries menu,
  534. the Currencies menu and the Jobs menu). For rather
  535. technical reasons, it is necessary to keep the menu
  536. structure open to provide these. The three submenus
  537. will also behave slightly differently in that they
  538. will not stay open if you click on them with Adjust.
  539. However, I think the slickness of this system
  540. outweighs its slight peculiarity.
  541.  
  542. Clicking on the 'Set' and 'Cancel' buttons with
  543. Adjust keeps the menu structure open; clicking on
  544. them with Select or Menu closes it as expected.
  545. Clicking on any other icons with any mouse button
  546. will keep the structure open.
  547.  
  548. When dragging either of the two calculated values
  549. out into another application, RAM Transmission is
  550. used in the first instance to avoid disc usage, but
  551. if this is not acceptable to the other application,
  552. the normal saving method is used. In this way, it
  553. is also possible to save the values as files to the
  554. filer. They have default names which indicate which
  555. window they came from.
  556.  
  557. Final note
  558. ==========
  559.  
  560. Please note that Charges is SHAREWARE, with a small
  561. registration fee of £5. Please read the file
  562. 'Shareware' for full details.
  563.  
  564. If you have any comments I would be very happy to
  565. hear from you, and if you like this program, please
  566. consider registering with me. Contact:
  567.  
  568.   Richard Hallas,
  569.   31 Skelton Crescent,
  570.   Crosland Moor,
  571.   Huddersfield,
  572.   West Yorkshire,
  573.   HD4 5PN, UK
  574.