home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
biz
/
butlerjames-3.2.lha
/
ButlerJames-3.2
/
Docs
/
Butler.doc
next >
Wrap
Text File
|
1994-05-08
|
49KB
|
1,412 lines
Documentation of Butler V3.2 © 1992-1994 C&h-Software
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C h a p t e r 1
-------------------
Introduction
Gives you a brief overview of the basic functions and the intended use as
well as some special aspects of using the program.
1.1) Recommended machine-configuration
Butler should run on almost any machine without problems, that is all
functions are available with 512 KB RAM and one drive, but from now on
(version 3.0 of the software) Kickstart 2.x or 3.x is required to run
Butler. This was necessary to keep the program-size small (Butler V3.0 is
nearly 50 % smaller than the previous version !) and to raise the comfort
of the user-interface (ListViews, Commodity functions, AslRequester ect.).
So run for your new KS-ROM, if you don´t already use 2.0 or higher versions
of the system software ! As soon as your database has about 1000 entries,
it is recommended to use a harddrive, because floppy-disks always have a
very poor performance as far as data access is concerned. This is a
well-known problem, which can not be solved by the software, although the
disk-access of Butler is highly optimized for maximum speed. Running butler
will need about 32K of RAM for every 100 entries in addition to the size of
the program itself as the highest expected value. This will only be used
during delete or insert operation and goes down to 6K for 100 entries if
butler is resident and waits for the defined hotkey. So if you have to run
other applications that need much RAM, you should have at least 1 MB to be
safe of getting those ugly messages like: Your machine is out of memory...
At this place some words about startup operation: When you start a program
(for ex. Butler), the system loads code- and data-modules into memory.
Butler checks these modules for itself before running, that is he
calculates a checksum over program code and data to be sure everything has
been loaded correctly and there will be no invalid data or program-code due
to read-write- or RAM-errors. First of all this reduces the risk of sudden
program-crashes that could have been detected and avoided and second there
is no way to change a n y t h i n g within the program-code without
butlers notice. So please keep away from the compiled program-code as it
runs only in the original version. Changed versions will bring up a
requester right after startup, saying that program-code or data sections
are damaged and butler exits.
1.2) Basic Function
After starting butler, the program keeps resident in RAM until you press
the hotkey defined in the tooltypes (CX_POPKEY). (Most likely the Help key)
Now butler wakes up (until now he was asleep and did not use the CPU,
except the small commodities input-handler that watches the input-stream)
and tries to open a window on the foremost screen. If you set the SCREEN
tooltype to YES, he will open a new screen. If he fails for low memory,
you´ll get the appropriate error-message. When you are done with your work,
you can reset butler to his resident state, or you can quit completely.
Pressing the hotkey while butler has his window open on any screen will
make him close the window and re-open it on the foremost screen again. For
a detailed description of screen and window usage and some important facts
you should keep in mind see chapter 5) Tooltype-processing under SCREEN.
Butler was designed for address management, but can be used for other
purposes, if the number of bytes (characters) per entry and the given
number of input-fields are sufficient. A detailed description of each field
is given below.
Field 1: 9 chars to
Field 2: 29 chars firstname
Field 3: 29 chars lastname
Field 4: 39 chars extensions
Field 5: 39 chars street
Field 6: 39 chars place
Field 7: 39 chars telephone
Field 8: 47 chars comments
Further there are four input-fields for special purposes which will be
named IF1 to IF4 in the following. Their position is shown below:
Bottom right: UseFunc , IF3 , Select
UseJoker, IF4 , DeSlct
Fix: IF1 , Wait: IF2
Data is sorted in alphabetical order using the text in field 3 (lastname)
and displayed in a very handy scrollfield. Each entry has a specification,
given by the user when adding new data, that relates each entry to one or
more of 8 groups. By the use of 8 switches, positioned directly under the
scrollfield, the user can select a specific combination of groups for being
displayed. This function works in realtime, that is there are no delays
between selecting groups and getting the result (even if there are 1000 or
more entries). As Butler has a little function-parser, you can give your
own very special display-function in IF3, which will replace the normally
used switches, for ex.: (1 and 3) or (2 and not (6 and 7))... or something
like that. In addition to that, you can provide a joker-text in IF4 to
reduce the display to all entries which have a field 3 (lastname), that
matches the joker.
1.3) Special aspects of the user-interface
As there are no pulldown menus, the right mousebutton can be used for other
purposes, that make the program easy-to-use. The following actions are
available:
1) Pressing the right button when the pointer is above or below the
scrollfield: Leaf through the contents of the scrollfield (pagewise).
2) Pressing the left button when the pointer is upon an entry of the
scrollfield: ACTIVATES this entry, that means:
·) The complete contents of it are shown in the input-fields.
·) It changes the color.
·) Further operations like save, send, prtlab ect. take effect on this
entry, if they were selected with the left button.
Certainly only one entry can be active. Activating another will therefore
deactivate the previous activated entry.
3) Keeping the left button pressed, moving up and down the scrollfield:
Butler keeps track of the pointer-position and activates the desired entry
for you. If you move out of the scrollfield (over the top or the bottom
border, the contents are scrolled up or down.
4) Pressing the right button when the pointer is upon an entry of the
scrollfield: SELECTS this entry, that means:
·) The display changes to inverse. (like a bar over the text)
·) Further actions (see 2) take effect on all selected entries if they are
invoked with the right button.
All entries can be selected at the same time and in 4 independent levels.
(See 2.4.14 Cycle-gadgets, for details). The "selected"-state of an entry
in any level does not depend on its display-state, that is if some entries
are hidden by selecting new group-combinations, they keep their
"selected"-state until they are displayed again and deselected. The actual
state of all entries in all 4 levels can be saved using "store", if you
need this state to appear the next time you run butler. Read chapter 2.3)
for a detailed description of the available group- and display-functions.
5) As 4, but moving up and down: If the first entry (the one you clicked
on) was deselected up to now, this and all following entries you move on,
will be selected. If the first entry was previously selected,this and all
following entries you move on, will be deselected. Moving out of the
scrollfield causes butler to scroll up/down, selecting/deselecting all new
displayed entries.
6) Security-checks (for ex. before delete), often use a different kind of
communication than a requester. They print their message directly in the
windows titlebar, waiting for the user to select the action again, or to
cancel it by pressing the right button. This is very practical, because you
don´t have to move your pointer to the O.K. gadget of the requester.
Instead you select the function again, which leads into a kind of
double-click.
C h a p t e r 2
-------------------
Function description
This section gives you a detailed description of each gadget in the main
window of butler, which functions are invoked through their selection and
how to use them.
l.M. stands before the function, invoked with the left mousebutton, r.M.
stands before the