home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / bazy / amigadex / amigadex.doc < prev    next >
Text File  |  1992-04-15  |  25KB  |  539 lines

  1.  
  2.  
  3.                             ----------------------
  4.                              Amigadex Version 1.0
  5.                             ----------------------
  6.  
  7.  
  8. Copyright © 1992 Ray Lambert
  9.  
  10.     This file contains information about Version 1.0 of Amigadex.  Additional
  11. features that have been added since this version are described in a separate
  12. file called "Addendum.doc".  These two files together comprise the entire
  13. documentation for Amigadex.  If you are already familiar with Amigadex, you
  14. may want to skip this file and read just the addendum.
  15.  
  16.  
  17.  
  18. Legal Notices
  19.  
  20.     Amigadex is a copyrighted work and is NOT in the public domain.  The
  21. author reserves all rights to this work.  The author assumes no
  22. responsibility or liability for any damage or loss that may occur as a result
  23. of using Amigadex.
  24.  
  25.     It is legal to distribute Amigadex in its original, unmodified form on
  26. BBS's, user-club diskettes, and PD/ShareWare collections, however no fee may
  27. be charged other than duplication or electronic transfer costs.  It is NOT
  28. legal to distribute Amigadex in any commercial product without permission
  29. from the author.  Permission is hereby expressly granted to Fred Fish to
  30. distribute Amigadex as part of the Fred Fish Redistributable Software
  31. Library.
  32.  
  33.     A short while ago, Amigadex almost became a commercial product.  As a
  34. result a few versions of the program were distributed that actually claimed
  35. to be commercial.  As it turned out however, Amigadex did not go commercial
  36. -- it shall remain ShareWare, probably forever!  Therefore, those previous
  37. notices are now invalid (as in '1984', I will deny they ever existed --
  38. consider the past altered [grin]).  If you have a version which claims to be
  39. commercial, or contains some copyright other than the author's, please do not
  40. distribute it.  In fact, it should be destroyed and replaced with this newer
  41. version.
  42.  
  43.  
  44.  
  45. Here's The Deal
  46.  
  47.     Amigadex is ShareWare.  You are expected to purchase this program by
  48. registering it with the author after a review period of reasonable length, if
  49. you intend to continue using it.  The standard ShareWare fee is $20 (US).  If
  50. you find Amigadex useful and you have not yet registered, please do so!  Your
  51. money buys you technical support, future revisions, and the LEGAL RIGHT to
  52. use this copyrighted piece of software -- if you are not registered you are
  53. using this program illegally!  In addition, your support helps ensure that
  54. Amigadex will be kept up to date with new features/improvements, etc.  Upon
  55. registration you will receive a copy of the latest version of Amigadex in the
  56. mail, free of charge.  You will also be informed when new major releases are
  57. available, and you will be eligible to receive these new releases for only
  58. the cost of duplication and shipping.  You may also receive bug fixes by
  59. request.  Note that future versions may not be publicly available.
  60.  
  61.     If you wish to reach the author to register Amigadex, or for any other
  62. reason, you may do so at this address:
  63.  
  64.         Ray Lambert
  65.         PO Box 1253
  66.         Westport, Massachusetts  02790
  67.  
  68.     You may also call (if it's a decent hour!):
  69.  
  70.         (508) 677-9217
  71.  
  72.  
  73.  
  74. Overview
  75.  
  76.     Amigadex is a disk-based "address book".  It is intended to be used as a
  77. personal data base for the names/addresses/phone numbers of all your friends
  78. and/or business associates.  The field names are pre-set for this purpose,
  79. however there are no restrictions as to what type of data may be placed into
  80. each field other than the length of the data -- maximum length for each field
  81. is 79 characters.  Amigadex may be used to maintain a small mailing list
  82. however it may be a little limited for high-volume usage where a full-blown
  83. data base program would be more useful.
  84.  
  85.     The Amigadex data base uses the idea of "cards" -- each entry into the
  86. "card file" has its own separate card.  Using Amigadex, you can view and/or
  87. edit the cards that are in your card file.  Amigadex also includes a flexible
  88. print utility and an import function which allows data from other
  89. applications to be easily introduced into Amigadex.  The print utility can
  90. also write cards to a text file, permitting mail-merge type operations.
  91. Amigadex can be operated either with the mouse or the keyboard.  Most of the
  92. gadgets that appear will be in the shape of file cards, and will be referred
  93. to as "card gadgets".  Most of the options available to you at any time will
  94. be presented as card gadgets along the bottom of the Amigadex window (which
  95. is also in the shape of a card :^) .  This is referred to as a "menu".  The
  96. first "menu" that is available when Amigadex is run is referred to as the
  97. "main menu".
  98.  
  99.  
  100.  
  101. Getting Started, The Card File
  102.  
  103.     Since the job of Amigadex is maintaining the card file, Amigadex will not
  104. execute if there is none available.  Therefore, you must supply the name of a
  105. card file.  If the file that you supply doesn't exist, Amigadex will create
  106. it for you, after verifying this action with you.  There are a number of ways
  107. to indicate which card file to use when invoking the program.  The simplest
  108. method is to NOT indicate a card file.  When this happens, Amigadex will
  109. display a requester asking you to enter the name of the card file you wish to
  110. use.  The default card file name is "s:Amigadex.Cards", and this name will
  111. appear in the requester for you to select or change.  The remaining methods
  112. are available either only from Workbench or only from the CLI.
  113.  
  114.  
  115.  
  116. Getting Started, Workbench
  117.  
  118.     From the Workbench you may put the name of your card file in the "Tool
  119. Types" field of the Amigadex icon.  You may do this by clicking once on the
  120. gadget, and then selecting the "Info" item from the "Workbench" menu.  The
  121. format for the icon command is: "CARDFILE=cardfilename" where "cardfilename"
  122. is the name of your card file.  As an example, the default name would be
  123. entered into the icon as such:
  124.  
  125.         CARDFILE=s:Amigadex.Cards
  126.  
  127.     Note that it is desirable to use a specific path to the card file because
  128. you never know what disk directory your Amiga will be logged-into when you
  129. invoke Amigadex.  Example:
  130.  
  131.         CARDFILE=Workbench:Amigadex/My.Cards
  132.  
  133.     Two other parameters, "SEARCHFLAGS=" and "PRINTFLAGS=", can also be
  134. defined as Tool Types.  These will be discussed later.
  135.  
  136.  
  137.  
  138. Getting Started, CLI
  139.  
  140.     From the CLI you may pass the card file name on the command line when
  141. invoking Amigadex.  Example:
  142.  
  143.         AMIGADEX S:AMIGADEX.CARDS
  144.  
  145.     This will use the card file "S:AMIGADEX.CARDS".  One additional option is
  146. to use a text editor to create the Amigadex.Config file with the name of your
  147. card file in it.
  148.  
  149.  
  150.  
  151. Amigadex.Config file
  152.  
  153.     To save you the trouble of going through the steps just mentioned to
  154. start Amigadex (especially from the CLI), one additional method of supplying
  155. Amigadex with the information it needs is described here.  If no card file is
  156. specified on the command line (from the CLI) or if no card file is specified
  157. in the icon (from Workbench) then Amigadex will attempt to find a file called
  158. "Amigadex.Config".  It will first look in the currently logged directory for
  159. this file.  If it doesn't find it there it will look in your "S:" directory.
  160. (If it still can't find the file it will resort to the requester mentioned
  161. earlier).  The config file contains the same information as the icon.  If
  162. you're using Workbench, the only benefit you gain from using the config file
  163. is that you can directly modify it from within Amigadex via the Config Window
  164. (see below).  To modify the icon, you must use Workbench's "Info" menu
  165. option.
  166.  
  167.     The config file is just a plain text file with three lines in it.  The
  168. first line contains just the card file name, the second contains the Search
  169. Flags (see below), and the third line contains the Print Flags (also see
  170. below).  This file can be edited using any text editor that doesn't add any
  171. binary characters to the file.  Amigadex will optionally create this file for
  172. you from the Config window (see below).  An example Amigadex.Config file with
  173. all the default information in it is as follows:
  174.  
  175.         Line #1:  S:Amigadex.Cards
  176.         Line #2:  YYYYYYY
  177.         Line #3:  YYYYYNN
  178.  
  179.  
  180.  
  181. Search Flags
  182.  
  183.     When browsing through your card file, Amigadex will allow you to enter a
  184. Search String for selective viewing and/or printing of entries in the file.
  185. Amigadex will search in all the fields that are indicated by the Search Flags
  186. for the Search String that you supply.  First, a list of the available
  187. fields...
  188.  
  189.         1. Name
  190.         2. Address 1
  191.         3. Address 2
  192.         4. Address 3
  193.         5. Address 4
  194.         6. Phone #
  195.         7. Comment
  196.  
  197.     From the Config window (see below) you may set/clear any of the search
  198. flags.  You may also set the initial flags either from the Amigadex icon or
  199. in the Amigadex.Config file.  If a flag is ON then that will tell Amigadex to
  200. look in that field when searching.
  201.  
  202.  
  203.  
  204. Print Flags
  205.  
  206.     The Print Flags are very much like the Search Flags except in function.
  207. The Print Flags indicate to Amigadex which fields should be printed in Print
  208. Mode (see below).  For example, if you are printing mailing labels, you most
  209. likely would not want the "Phone #" field to be printed.  You also may not
  210. want the Comment field to be printed.  Therefore, you would clear the Print
  211. Flags for these two items, and they would not be printed.
  212.  
  213.  
  214.  
  215. Setting Flags
  216.  
  217.     Search Flags may be defined in the Config Window (see below) and Print
  218. Flags may be defined in the Print Set-up Window, (also see below) once
  219. Amigadex is running.  If you wish to define them either within the icon or
  220. within the Amigadex.Config file, you must understand how they are coded.  A
  221. simple string of seven "Y" and/or "N" characters are used to define the Flags
  222. in the icon or in the config file.  Each position in the string corresponds
  223. to one field.  Position #1 corresponds to field #1, position #2 with field
  224. #2, etc.  The default Search Flags are all on, and therefore the string would
  225. look like this: "YYYYYYY" (without the quotes).  The default Print Flags
  226. have all fields set except numbers 6 and 7 (phone # and comment).  The
  227. resulting string would look like this: "YYYYYNN".  Within the icon, these
  228. strings must be preceded by the commands "SEARCHFLAGS=" for the Search Flags,
  229. and "PRINTFLAGS=" for the Print Flags.  For example, the default Flags would
  230. be defined as such in an icon:
  231.  
  232.         SEARCHFLAGS=YYYYYYY
  233.         PRINTFLAGS=YYYYYNN
  234.  
  235.  
  236.  
  237. The Card Window
  238.  
  239.     When Amigadex executes it will display a window which appears like a
  240. giant file card.  This window is affectionately referred to as the "card
  241. window" throughout this documentation.  At the very top of the window is a
  242. blank area which is used for simple messages.  Below that area is the card
  243. itself.  Within the card are the field names and a line for each field where
  244. information contained in that field will be displayed and edited.  Below the
  245. fields is an area which is used to display various card gadgets which give
  246. access to Amigadex's various features.  In between the message line and the
  247. top of the main card, and to the left of the card's "index tab", is found two
  248. displays which will report the current card number and the total amount of
  249. cards in the current card file at all times.
  250.  
  251.  
  252.  
  253. Amigadex System Gadgets
  254.  
  255.     Amigadex uses custom imagery for all its rendering in the card window,
  256. including the normal system gadgets.  The drag gadget is in the "index tab"
  257. of the card window and works exactly like a normal drag gadget.  The depth
  258. gadgets are located in the upper right corner of the window, as is normal
  259. with other windows.  They look similar to Intuition's depth gadgets, except
  260. they contain little images of file cards.  (What?  MORE cards???  :^) From
  261. the "main menu" a Quit card gadget is available in the lower right corner of
  262. the window which does the job of a close gadget.
  263.  
  264.     One addition to the system gadgets is found just below the depth gadgets
  265. in the upper right corner of the card window when the Main Menu is active.
  266. This is an "Iconify" gadget.  It looks like a file card with a fancy letter
  267. "I" in its center.  When clicked, it will remove the card window from the
  268. Workbench Screen and replace it with a single tiny card which behaves similar
  269. to a Workbench icon.  It can be dragged around the Workbench screen, and,
  270. when double-clicked, it will disappear and replace Amigadex's card window on
  271. the Workbench Screen.  "Iconifying" puts Amigadex "to sleep" until you need
  272. it next.  It will also free-up about 16k of memory for usage by other
  273. programs.
  274.  
  275.  
  276.  
  277. The Main Menu
  278.  
  279.     "Menus" here refers to the lower area of the card window where you will
  280. normally find up to five card gadgets that allow you to do certain functions
  281. within Amigadex.  The "main menu" is what you will first see once you've
  282. gotten into Amigadex.  The options available are:
  283.  
  284.     Add
  285.         Allows you to add a new card to the card file.  Amigadex will
  286.         first search through the card file looking for deleted cards.
  287.         Pressing Esc during this searching process will abort it and return
  288.         you to the main menu.  If no deleted cards are found then a new card
  289.         is added to the file.  Either way, you will be placed into "Edit
  290.         Mode" (see below) to enter the information for the new card.
  291.  
  292.     Browse
  293.         Allows you to look through and/or edit/delete cards in the card
  294.         file.  This is referred to as "Browse Mode" (see below).
  295.   
  296.     Print
  297.         Allows you to print the contents of cards.  This is known as
  298.         "Print Mode" (see below).
  299.   
  300.     Config
  301.         Allows you to define Search Flags, select a new card file
  302.         and/or save a config file via the Config Window (see below).
  303.   
  304.     Quit
  305.         Quits Amigadex.
  306.   
  307.  
  308.  
  309. Edit Mode
  310.  
  311.     Edit mode allows you enter/edit information for any card.  If you are
  312. editing an existing card the information for that card will be placed in the
  313. card window.  A cursor will appear on the first field and you may edit that
  314. information.  Pressing RETURN will move the cursor down to the next field.
  315. You may also click anywhere in any of the fields to move the cursor there.
  316. Right-Amiga-X will clear all the text on the line where the cursor is.
  317. Right-Amiga-Q will replace the original contents of the line as it was when
  318. the cursor was last placed on that line.  If the cursor should disappear,
  319. simply use your mouse to click on one of the lines and the cursor will
  320. return.  Two card gadgets will be found on the card window at this point.
  321.  
  322.     File
  323.         Saves the card as it appears on the screen to the current card
  324.         file.
  325.   
  326.     Toss
  327.         Aborts the edit process.  If changes have been made you will be
  328.         asked to verify this operation first.
  329.  
  330.  
  331.  
  332. Browse Mode
  333.  
  334.     Before entering Browse Mode you will be presented with the "Enter Browse
  335. Parameters" requester.  Two string gadgets and two card gadgets will be found
  336. in this requester.  The string gadgets allow you to enter the card number to
  337. begin searching at, and a Search String for selective browsing.  Leaving the
  338. "Card Number" gadget blank will assume that you wish to start at card number
  339. one.  Leaving the "Search String" gadget blank will display all cards in the
  340. file.  Pressing RETURN when the cursor is in the "Search String" gadget is
  341. the same as clicking on the "Okay" card gadget.  Clicking on the "Okay" card
  342. gadget instructs Amigadex to begin browsing.  Clicking on the "Cancel" card
  343. gadget tells Amigadex to forget what you just did and return you to where you
  344. last where.  After clicking on "Okay" Amigadex will search for the first card
  345. to display.  If it cannot find a card for whatever reason, a requester will
  346. appear informing you that no cards where found and it will wait for you to
  347. click on an "Okay" gadget.  When a card is found you will then enter Browse
  348. Mode.
  349.  
  350.     When in Browse Mode you will find five card gadgets and two special
  351. "Arrow Gadgets".  The information for the current card will be displayed in
  352. the card window.  Amigadex allows you to enter information for each field
  353. which may not completely fit in the card window.  The information will scroll
  354. left-right when you type in Edit Mode.  In Browse Mode however, if you wish
  355. to view a piece of information which doesn't quite fit on a line, you will
  356. need to use the Arrow Gadgets.  These two gadgets are found on the left
  357. border of the card window whenever you are in Browse Mode.  They will scroll
  358. the card information currently being displayed left or right.  The top gadget
  359. scrolls right, and the bottom gadget scrolls left.  The imagery will remind
  360. you which is which.  The five card gadgets are as follows:
  361.  
  362.     Next
  363.         Moves forward through the card file.  The search information
  364.         you specified is used to continue the search to show you the next
  365.         card in the file.  When the end of the card file is reached Amigadex
  366.         will re-position to the beginning of the card file.
  367.  
  368.     Last
  369.         Moves backwards through the card file.  The search information
  370.         you specified is used to continue the search to show you the
  371.         previous card in the file.  When the beginning of the file is
  372.         reached Amigadex will re-position to the end of the card file.
  373.  
  374.     Edit
  375.         Enters Edit Mode (see above) to allow you to edit the current card.
  376.  
  377.     Delete
  378.         Used to delete the current card.  You will always be asked to
  379.         verify this action.
  380.  
  381.     Done
  382.         Exits Browse Mode and returns to the main menu.
  383.  
  384.     One additional gadget is available in Browse Mode which is invisible.
  385. This invisible gadget is located on the Card Number which is displayed on the
  386. top of the card window (under the message line).  Clicking on the card number
  387. will bring-up the "Enter Browse Parameters" requester to allow you to either
  388. jump to another card in the file, change your Search String, or both.
  389.  
  390.  
  391.  
  392. Print Mode
  393.  
  394.     Print Mode is where you will be allowed to print the contents of cards in
  395. your card file.  The "Print Set-up Window" allows you to enter all the
  396. information you will need to configure the printing process, and you will
  397. always see the set-up window when you click on the "Print" card gadget from
  398. the main menu.  There are two modes of printing available, "normal" and
  399. "continuous," which are explained below.
  400.  
  401.  
  402.  
  403. Print Mode, The Print Set-up Window
  404.  
  405.     This window is separate from the card window, with normal system gadgets,
  406. etc.  The information is arranged in two columns within the window.  On the
  407. left is a series of toggle gadgets which allow you to set/clear the Print
  408. Flags.  These toggle gadgets appear as three-dimensional cubes.  When they
  409. are selected (turned on) a check-mark will appear inside the cube.  Alongside
  410. the toggle gadgets is text which identifies which field each gadget
  411. represents.  All fields which are selected here (when the cube contains a
  412. check-mark) will be printed on your labels, etc.  The ones that are not
  413. checked, will not appear in the printed output.  The status of the Print
  414. Flags may be saved to your "Amigadex.Config" file from the Config Window (see
  415. below).
  416.  
  417.     The right column contains several string gadgets that allow you to set
  418. search parameters, media size and output device.  The search parameters that
  419. you enter here work exactly like those set in Browse Mode.  The media size
  420. parameters are specified in character positions.  The "Media Height"
  421. parameter is of most use when printing labels as it allows Amigadex to
  422. calculate how many lines to insert between labels in order to advance
  423. properly to the next label.  Your Media Height must be large enough to fit
  424. all the fields that you select to print.  The "Media Width" parameter is used
  425. to truncate any lines of text that are too long to fit on the media.  The
  426. default values for the Media size parameters are suitable for standard size
  427. mailing labels at six lines per inch using a ten point font (normal printer
  428. defaults).
  429.  
  430.     The "Output Device" is where the printed output will be sent to.  This
  431. can be any valid AmigaDOS device.  The default device is "PRT:", your
  432. Preferences printer.  It could also be a file in case you need to write the
  433. contents of some of your cards to a text file to import the information into
  434. another program; a mail-merge for instance.
  435.  
  436.     Below the "Output Device" string gadget you will find another toggle
  437. gadget with the words "Continuous Mode" beside it.  When this item is
  438. checked, printing will take place in "Continuous Mode" (see below),
  439. otherwise, printing will be done in "Normal Mode" (also see below).
  440.  
  441.     Finally, there are two card gadgets on the bottom of column two of the
  442. set-up window.  The "Okay" card gadget will accept all the input in the
  443. set-up window and begin the actual printing activity.  The "Cancel" card
  444. gadget will exit the set-up window and return you to the main menu, aborting
  445. the print operation.
  446.  
  447.  
  448.  
  449. Print Mode, Normal Mode
  450.  
  451.     The Normal Printing mode is very much like the Browse Mode (described
  452. above).  All the gadgets and options that are available in Browse Mode are
  453. available in this mode, with the exception of the "Edit" and "Delete"
  454. options, and one additional card gadget for printing.  The "Print" card
  455. gadget will send the currently displayed card to the Output Device that you
  456. specified in the set-up window.  This approach to printing gives you full
  457. control over which cards get printed.  You may browse through your card file
  458. and print only the cards that you wish.  When you are done, click on the
  459. "Done" gadget.
  460.  
  461.  
  462.  
  463. Print Mode, Continuous Mode
  464.  
  465.     Continuous Mode allows Amigadex to quickly print a large batch of cards
  466. with as little intervention from you as possible.  All cards which are found
  467. to match the Search String that you specify in the set-up window will be sent
  468. to the Output Device.  Note that the Search Flags that you define in the
  469. Config Window (see below) or that you set either in the Amigadex icon or in
  470. the Amigadex.Config file will determine which fields are examined for the
  471. Search String; just as in Browse Mode.  While printing is taking place in
  472. this mode, two card gadgets are available for you to click on:
  473.  
  474.     Pause
  475.         This will suspend the printing process until further instructions
  476.         are given by you via a "pause requester", which will appear after
  477.         clicking "Pause".  The "pause requester" will contain two card
  478.         gadgets to click on:
  479.  
  480.             Okay
  481.                 Resumes the printing process exactly where it left off.
  482.  
  483.             Cancel
  484.                 Aborts the printing process and returns you to the main menu.
  485.  
  486.     Done
  487.         This will abort the printing process and return you to the main menu.
  488.  
  489.  
  490.  
  491. The Config Window
  492.  
  493.     This window is a separate window like the Print Set-up Window.  It will
  494. allow you to set the Search Flags and to change the card file that you are
  495. working with.  It will also allow you to save this information in an
  496. Amigadex.Config file.  Two columns of information will be presented to you.
  497. The left column will appear almost exactly like the left column of the Print
  498. Set-up Window (described above).  A series of toggle gadgets, each one
  499. representing a field, will be displayed with the field name to the right of
  500. the toggle gadget.  When the gadget is toggled on, searching in that field is
  501. enabled.
  502.  
  503.     The right column contains a single string gadget and three card gadgets.
  504. The string gadget is used to enter the name of the card file that you wish to
  505. work with.  The name of the card file that you are currently working with
  506. will be displayed by default.  Below this string gadget are the three card
  507. gadgets:
  508.  
  509.     Save
  510.         This option will attempt to create an Amigadex.Config file.  Saved
  511.         within the Config file will be the name of the card file which is
  512.         displayed in the Card File string gadget, and the current state of
  513.         the Search Flags as well as the current state of the Print Flags.
  514.         This information will be used the next time you start-up Amigadex,
  515.         assuming that you save it properly.  A simple file requester will be
  516.         displayed before Amigadex actually tries to write the Config file
  517.         out.  This requester will allow you to change the file name that
  518.         Amigadex will use to save the file.  Note however, as described
  519.         above, when Amigadex runs it will only look for a file called
  520.         "Amigadex.Config", first in the current directory, and then in the S:
  521.         directory if not found in the current directory.  After saving the
  522.         Config file, the information you defined in the Config Window will be
  523.         used by Amigadex to continue its operation.  It will try to access
  524.         the new card file that you enter (if you did so), and will prompt you
  525.         to create the new card file if it doesn't already exist.
  526.  
  527.     Use
  528.         Puts the newly defined configuration information into use as
  529.         described above, but will not attempt to save it to a config file
  530.         first.
  531.  
  532.     Cancel
  533.         Cancels any changes you made to the configuration information.  If
  534.         you actually have made changes you will be asked to verify the
  535.         operation.
  536.  
  537.     All three of the above options will close the Config Window and return
  538. you to the main menu.
  539.