home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
calendar
/
a149_1
/
!Calenary
/
!Help
next >
Wrap
Text File
|
1992-07-21
|
9KB
|
211 lines
Calenary © copyright 1992, Ian Palmer.
--------
Please read '!Licence' file for copyright details.
Calenary supplies a combined calendar and diary which runs on the desktop.
It allows simple viewing of diary entries on, or within a specified number
of days of, a specific date.
When you run Calenary it will install itself on the icon bar. If you press
the left mouse button when the pointer is over its icon, then the 'Calendar'
window will be opened. The right mouse button opens the 'Diary' window.
The 'Diary' Window
------------------
This window allows the user to enter, view and delete diary items. The
window is divided into three main parts. At the top are options to allow
specification of the date, in the middle are 5 lines in which to enter the
text to be associated with that date, and at the bottom are options to save,
delete and move between diary items.
Date specification is simply a matter of altering the date displayed
(initially the current date) to the date required by simply using the up and
down arrows associated with each part.
Dates specified can either be very specific (an exact date) or general. Both
the month and year can be set to 'All', and the date within the month can be
set as a specific date (eg. 26th) or a day of the week (eg. every monday, or
the 2nd Wednesday, etc.).
Date specification requires the setting of four parts. Date specification
area has the following layout :
⇩ (part1) ⇧ ⇩ (part2) ⇧ ⇩ (part3) ⇧ ⇩ (part4) ⇧
•
(part4) - is the year (eg. 1992). To set to 'All' select the '•' option.
the '⇧' and '⇩' options move up and down the years.
(part3) - is the month. To set to 'All' you need to keep selecting
'⇧' until you move past December.
(part1) and (part2) depend on what date format you require.
For an exact date (eg. 26th) you need to set (part1) to blank (the lowest
option). Then (part2) needs to be set to the date required (ie. 26).
For a day of the week you need to set (part1) to one of 'All', '1st', '2nd',
etc. and then set (part2) to the correct day of the week (eg. Sun).
Once you have selected the date, and entered the text for that date, you need
to select 'Save' (bottom right) to enter the diary entry into the database.
Once you select 'Save' you will then be presented with a new blank entry.
To view the diary entries use the '⇦' and '⇨' options (bottom middle) to
move backwards and forwards through the entries (note the blank entry is at
the far right hand end).
To delete an entry from the database, simply display it (using the '⇦' and
'⇨' options) and select the 'Delete' option (bottom right).
The 'Calendar' window
---------------------
When you first open the 'Calendar' window you will be shown the current
month's calendar. This takes the form of a table of 7 columns (one for each
day of the week). The current date can be seen easily by the fact that it's
entry in the calendar is labelled in blue.
At the bottom of the window are two arrows, one pointing to the left, the
other to the right. Selecting these will make the current displayed month go
backwards and forwards respectively.
Another way to change the current month, or year, is via the relevant menu
option. Clicking 'Menu' over either Calenary's icon or the 'Calendar' window
will bring up the main menu.
This menu contains 6 options. There are the normal 'Info' and 'Quit'
options, as well as two sub-menus for setting the current month and year for
the calendar. The final two menu items are 'Search' and 'Tidy' - these will
be described later.
If you move the mouse pointer over one of the dates on the calendar, and
press the left mouse button, then this date will become the 'current
selected date'. When a date is selected the database is scanned and any
entries relating to that date will be displayed in the 'Display' window.
This 'Display' window is only shown when there is something to show. When
there is nothing to show, it goes into hiding.
There is no need to limit the database search to just the current selected
date. You can have it search the current selected date plus a specified
number of dates beyond that. This is done by setting the 'Search Look
Ahead'. This is set by selecting the 'Search' sub-menu from the main menu,
and entering the number of days in the 'Days Ahead' option. Note that a
value of '1' entered in this menu item will limit the search to just the
current selected date, and a value of 2 will include the day after, and so
on.
This sub-menu also includes two quick short cuts, called 'Today' and 'This
Week'. Selecting 'Today' will display this month's calendar, with todays
date selected, and set the look ahead to '1'.
Selecting 'This Week' performs the same as the 'Today' option, only the look
ahead is set to 7 days.
The final item on the Search sub-menu is a general search which searches the
text within the database, and will display date and text entries which
contain a match. This search is case insensitive for convenience.
The 'Tidy' function
-------------------
So that your diary database does not fill up with unnecessary past events,
there is a 'Tidy' function which will sift through the database and remove
any out of date entries. This function, however, needs to be initiated by
the user, and this is done by simply selecting the 'Tidy' option on the main
menu.
This function can only remove things that it can work out as being out of
date. Thus it can not remove any items which have the year set to 'All'. It
can however remove diary items with anything other than the year set to
'All'.
Command Line Options
--------------------
There are several option which you can specify when loading Calenary, and
these options allow certain features to be set. The options available are :
-reminder This option makes Calenary start up in 'Reminder'
mode. In this mode as soon as Calenary starts up
the database is searched for the current date.
If any matches are made these are displayed.
If no matches are made, or when you close the
display window, the program automatically exits.
-daily This option can be used in conjunction with
the -reminder option. When set it keeps a note of
when the reminder option has been used, and only
allows it to occur once a day. If you have already
used the -reminder and -daily combination that day
the program will just quit. This option uses a file
(pointed to by the variable <Calenary$Daily>) to note
when you last used this option.
-days num This option sets the initial look ahead (default 1).
-data file This option set the file to be used as the diary
database. By default the file used is specified by
the variable Calenary$File which is setup in the
!Run file within the Calenary application.
-2D By default Calenary adds a 3D look to its windows
as far as it can. Under RiscOS 2 only the Calendar
and Display windows will have this look, but under
RiscOS 3 the Diary window will also have a 3D
look. However some people don't like this look, and
so adding this option will force a 2D look to ALL
the windows.
Technical Stuff
---------------
Variables : <Calenary$Dir> This is used for loading sprites and
templates, etc.
<Calenary$File> Points to data file to use to store
diary. This file does not need to exist
but will be created when items are placed
in the diary.
<Calenary$Daily> Points to a file, which does not need to
exist. It is used by Calenary to ascertain
when you last used the '-daily' option.
Memory : Calenary starts off with a wimpslot size of 96k to hold the
application. Diary data is loaded on top of this, and so the wimpslot
size will actually be larger than this. As more memory is needed,
more memory is requested automatically by the program. Thus there is
no need to worry about large diary files, unless there is not enough
memory left in the computer to handle them.
Calenary and years gone by
--------------------------
Although Calenary is designed for the future, it can display the calendar
for any month, in any year. However in the past, different calendars were in
use, and there were different ways of working out certain aspects, such as
leap years.
Calenary assumes the current leap year calculation for all years, and thus
will be incorrect you years before this calculation came into use. It does,
however, know about the transition between calendars that occurred in
September 1752.