This is a little program to help track hours:

Use:    WORK [name] [opts]

opts:   /D      - Daily (only run if first time today)
        H=path  - specify Home directory path

It presents a calendar on the screen, allowing you to move around
between days and enter time spent and descriptions for your activities.

'name' is the name of the calendar you wish to access - I maintain
separate calendars for each of my clients allowing me to easily see
the hours for any client indepedantly of the others. 'name' defaults
to the name of the program, so you can rename WORK.COM if you wish
to use a different default calendar name. Note that 'name' must be
1-4 characters in length, because it will have a the 4-digit year
appended to it for the actual calendar filename.

WORK places it's calendars in a "home directory" - the home directory
is determined from (in this order):
  - The H= command line option
  - The name= environment variable ('name'=name of the program)
  - The directory containing the WORK.COM command file

Within the home directory, WORK stores the calendar for each year in a
file called 'nameyyyy.DAY' where 'name' is the calendar name as described
above, and 'yyyy' is the four digit year.

A very useful feature of WORK is the '/D' option which causes it to run
only if you have not already run it today. I use 'WORK /D' in AUTOEXEC.BAT
to cause WORK to come up when I first turn my computer on in the morning,
reminding me to enter yesterday's information while it is still fresh in
my mind. After that first bootup WORK will not bother me again until the
next day.

WORK is very simple to use - the Left/Right, Up/Down and PgUp/PgDn keys
move you Days, Weeks and Months respectively. Home will take you directly
to "Today". To add or change the record for a day, simply position the
green highlite block on that day, and press ENTER. You will be prompted
to enter a 1-line description.

If you want to track hours, you should begin the description with the
number of hours. Note that you can use '.' to enter fractional hours
(eg: 4.5 is 4 and 1/2 hours).

Note that WORK supports the TAB key to align output at 8-character
columns - I usually enter TAB after the hours to align the descriptions.

When you are finished entering the description, press ENTER to save it,
or ESC to cancel it (throw away changes).

At the main calendar screen, you can easily sum hours spanning a time period.
Simply move to the first day of the period and press F1 - the day highlite
will change to red - now you can move to any other day, and WORK will
display the total number of hours occuring on and between those two days.

You can continue pressing F1 on different days to move the "mark" point.
Pressing F1 on a day that is already marked will remove it and stop
calculating spanned hours.

When you are finished, press ESC - If you have made any changes, WORK
will prompt with "Save changes (Y/N)?" - Press 'Y' to save your changes
and exit, 'N' will exit without saving the changes, and ESC will return
to the calendar.


Dunfield Development Services (DDS) offers software and firmware
development services specializing in systems and embedded applications.
For more information, visit: http://www.dunfield.com

