home *** CD-ROM | disk | FTP | other *** search
-
-
- Help Librarian
-
-
-
- What is Help Librarian
- The Help Librarian is a tool used to create and maintain help files
- to be used by your application. All help text is kept on-line and each
- help screen is read in only when it is needed. This allows for a
- centralized file containing all help contexts. Also modifications to
- the textual portions of a help context do not require a recompile of
- your application.
-
- What are help contexts
- Help contexts are the mnemonic identifiers for the offsets into the
- .HLP file where the help text is stored. These contexts are used as
- handles in an application so that you can easily manipulate and
- maintain context sensitive help.
-
-
-
- Usage:
-
- Startup:
- The Help Librarian is started by typing h_lib from DOS.
- When h_lib is initialized you are presented with a Windows Style
- Menu with File, Edit, Configure and Help as options.
- Only File and Help are available until a help library is opened.
-
- Creating a new file
- To create a new help library select the File option from the main
- menu then select New from the file pull-down. A form will then
- appear allowing you to enter a name for the new help library or to
- view existing help libraries in the current directory.
-
- The Help Librarian will not allow you to enter duplicate library
- names.
-
-
- Opening Existing Files
- To open an existing help library select the File option from the
- main menu then Open from the pull-down. A form is presented that
- allows you to enter the name of an existing help library. If
- you press <Grey+> while on the library name field a list of existing
- help libraries is displayed. You may select a library to open
- from this list.
-
-
- Passing file names from command line
- The name of an existing help library may be passed to the
- Help Librarian from the DOS command line. The format is:
- H_LIB <filename>.
-
- If the librarian is able to open the help library a list
- of existing help contexts is displayed on the screen, at
- this point the main menu is active and you must select
- Edit to edit the help context list.
-
-
- Saving Files
- Saving the current help library is accomplished by selecting
- the Save option on the file pull-down. If you are editing a help
- library's context list press ESC to exit the context list.
-
- You will be prompted to save any changes that you may have made.
- Control is then passed back to the main menu.
-
- Once you select save from the file pull-down the help library is
- written to disk.
-
- Renaming Files
- To save a help library to a different name select Save As from the
- the file pull-down menu. A form is presented to allow you to enter
- the new name for the library. You can also view a list of existing
- libraries by expanding the view field. Help Librarian will not
- allow you to enter a duplicate file name. Once a valid name has
- been entered the file is renamed, and the renamed help library is
- opened and control returns to the main menu. You can edit the help
- context list by selecting Edit from the main menu.
-
-
-
-
- Dumping contexts to an ASCII file
- Write ASCII allows you to dump all of your help context names and
- associated text to a standard ASCII file. After selecting
- Write ASCII from the File pull-down a text entry box is presented
- for the name of the ASCII file. No checking for uniqueness is
- performed on this file name. If a file of the same name exists it
- is overwritten.
-
-
- Contexts
- Adding Context names
- Once a help library has been created or opened you will be able
- to insert, delete or modify any contexts for the current library.
- If you are editing a new file the list will be empty.
- An existing library will have its contexts displayed in the
- scrolling list on the screen. To add a new context to the
- library simply press the Insert button and a text box is
- displayed prompting for a new context name. The Help Librarian
- will not allow you to enter duplicate context names.
-
-
- Added text to contexts
- Once a context name(s) has been entered you can enter the help
- text associated with that name. Pressing enter will display a
- help window with any text for the current help context. This
- window is created using the default size and positions specified
- from the configuration form. Once this window is displayed you
- edit the text for that help context.
- While this edit window is open pressing ESCAPE will prompt
- you to save any changes to the current help context and return
- context to context list. The F10 key is also enabled in this
- window to allow you to import text from an ASCII file.
-
- Importing Text:
- Pressing F10 while editing a help context window presents a
- text box prompting you for the name of the file to import
- text from. While this text box is displayed pressing
- <Grey+> will bring up a list of all files in the current
- directory, you may select a file from this list. Pressing
- enter to accept the import file name will open the file in an
- window which overlaps the current help context window.
-
- To import text mark the area you wish to import, by pressing
- the F5 key to begin the mark and then moving the highlighted
- area over the entire region you want to import. Pressing DEL
- cuts the marked area to the scrap buffer. No changes are
- made to the file that you are importing from. If you want to
- reinsert the text you just cut simply hit INS, this will not
- flush the scrap buffer.
-
- Pressing ESC will put you back into the help context window.
- After positioning the cursor to the location where you want to
- import the text press INS to import the text from the scrap
- buffer.
-
- The Help Librarian makes no attempt to reformat the
- imported text. There is also no conversion carried out on
- any characters in the imported text. You will find that
- TAB characters are not expanded. If you attempt to open
- a file that is not ASCII no allowances are made for any
- special characters that may be in that file.
-
-