home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / lan2 / usermenu.lzh / OVERVIEW.OAH < prev    next >
Text File  |  1989-05-15  |  4KB  |  81 lines

  1.         USERMENU -- Version 1.00  (c) 1989, PGDN Software Co.
  2.  
  3.           An Overview of How the USERMENU System Works
  4.  
  5.   The USERMENU program reads user created MDF (Menu Definition Files)
  6.   and executes the commands found in these files based on user selection.
  7.   This isolates the user from DOS and allows single key selections to
  8.   execute several commands.  Unless otherwise specified in the USERINST
  9.   program, the USERMENU program will always first load the MDF file which
  10.   is named USERMENU.MDF as the initial menu.  Also, any menu instruction
  11.   can load another menu.  To begin, consider the following example
  12.  
  13.  
  14.    What the User Sees               The Menu Definition File HYPER.MDF
  15.   ┌────────────────────────────┐
  16.   │ Office Applications System │      TITLE HyperCalc Spreadsheet Menu
  17.   │ HyperCalc SpreadSheet Menu │   ┌─ HyperCalc Spreadsheet
  18.   ├────────────────────────────┤   │    CAPTURE /p=1 NB NF TI=5
  19.   │ 1. HyperCalc Spreadsheet   │<──┘    CM V:\APPL\SS\HYPERCALC
  20.   │                            │        EXT V: HYPER.EXE
  21.   │ 2. HyperCalc Tutorial      │<──── HyperCalc Tutorial
  22.   │                            │        CAPTURE /p=1 NB NT NF TI=10
  23.   │ 3. HyperCalc Translations  │<──┐    CM V:\APPL\SS\HYPERCALC
  24.   │                            │   │    V:TUT.EXE
  25.   │ 4. HyperCalc HyperPrint    │<┐ └─ HyperCalc Translations
  26.   │                            │ │      CM V:\APPL\SS\HYPERCALC
  27.   │ 5. Exit                    │ │      V:TRANSLAT.EXE
  28.   │                            │ └─── HyperCalc HyperPrint
  29.   │ F1 - Help 05-10-89 08:30:10│        CAPTURE /Q=GRAPHS NB NT TI=20
  30.   └────────────────────────────┘        CM V:\APPL\SS\HYPERCALC
  31.                                         V:HYPERPRT.COM
  32.                                         Y:ENDCAP.EXE
  33.  
  34.     In the example above, the user would simply press the '1' key to
  35.   execute HyperCalc, behind the scenes, the USERMENU program will
  36.   also reset the Novell Drive mapping and set up print spooling to a
  37.   network printer before loading the HyperCalc spreadsheet program.
  38.   Also, if the user presses the F1 key, the USERHELP.EXE program will
  39.   execute and display and help information associated with this menu
  40.   by loading the HYPER.OAH or HYPER.IDX file (See Section on USERHELP
  41.   for more information).
  42.  
  43.                 Summary of USERMENU.EXE Operation
  44.  
  45.     The following is a brief summary of how the USERMENU.EXE program
  46.   operates.  Understanding how the program functions may help you to
  47.   see how the overall system operates.
  48.  
  49.     1.) The User executes UM.BAT which in turn executes USERMENU.EXE
  50.  
  51.     2.) Upon loading, the USERMENU.EXE program searches it's own
  52.         directory for the USERMENU.SYS file and reads the default
  53.         values specified when USERINST was last run.
  54.  
  55.     3.) The program assigns the current directory (where the user called
  56.         the program from) to a variable for later returning the user to
  57.         the correct directory after the program terminates.
  58.  
  59.     4.) Next the USERMENU.EXE program searches the user's directory for
  60.         a USERMENU.CNF file. If the file exists, the program will reassign
  61.         default values if the user's values differ from those found in
  62.         the master USERMENU.SYS file. This allows even more flexibility
  63.         by allowing individual customization to single users.
  64.  
  65.     5.) The program now searches for the default MDF file (specified by
  66.         USERISNT or USERMENU.MDF if none was specified). If the program
  67.         finds the file on the user's disk it uses that copy, otherwise
  68.         it reads the menu file from the PROGRAM directory specified by
  69.         userinst. If the default menu is not found, the program will
  70.         terminate.  This double searching for menu files (on user disk
  71.         then program disk) is another method for increasing flexibility.
  72.  
  73.     6.) The menu file is loaded into memory and the program waits for
  74.         user input to determine the sequence of commands or menus which
  75.         will be executed next.
  76.  
  77.     7.) When the program is terminated, the user is returned to their
  78.         startup directory and control is passed back to UM.BAT, which
  79.         may either call another BAT file which was created via and
  80.         EXT command (See command sections) or exit.
  81.