home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 165 / HD_UTIL.ZIP / HD_U.ZIP / AMSQUICK.REF < prev    next >
Text File  |  1991-09-12  |  7KB  |  155 lines

  1. **** when running AMS and a menu is present, press ? for system help ****
  2.  
  3.     An example AMS.LST file is below along with the definitions of the
  4. AMS codes. (Note: Commas and spacing are important!!)
  5.  
  6.  ┌───────────────────────────────────────────────────────────────────────┐
  7.  │   3, 3, optional-help-file-#                                          │
  8.  │ KES  Editor  Menu                                                     │
  9.  │ "   See a file   ", ., see.cct, pemn, 001, 1, " See text editor ", KB │
  10.  │ "  Print a file  ", ., pprint.cct, pem, 001, 2, " Uses Pprint ", KB   │
  11.  │ " Paper  Advance ", \DOS, clrprt.exe, nm, 001, 3, " Sends Form Feed " │
  12.  └───────────────────────────────────────────────────────────────────────┘
  13.  
  14.     3, 3 = Three lines of menu items,  Three CR-LF's between each line 
  15.                                                         ( = two spaces)
  16.  
  17.     optional-help-file-#: used if a help program is used in the normal
  18.                           help file name section (help-file-#).
  19.  
  20.              EXAMPLE: dos-help.exe format
  21.  
  22.                       This would run the program DOS-HELP.EXE and find
  23.                       the help on "FORMAT" when the F1-key was pressed. 
  24.                       (As long as the program could be run.)
  25.  
  26.     Menu Title
  27.  
  28.     Menu lines: " Menu Item ", \path, prgm.ext, codes, help-file-#,
  29.                 help-file-block-#, " One line help info ", ext-(if 
  30.                 needed)
  31.  
  32.     Command code list (a, b, c, e, h, i, l, m, n, o, p, r, s, x, or -), as
  33. many or as few as needed.
  34.  
  35.            a, Send Command screen command to ALL programs to be run.
  36.     * 3.0  b, BATCH mode. Create a BATCH file and run application 
  37.               through it. All RAM memory for application program use!
  38.     * 4.3  c, Center a menu, for menus only NOT a PROGRAM command!
  39.            e, extension to be given and used, at end of ams.lst command.
  40.            E, Expert system type menu.
  41.     * 3.2  h, If 'r' used then refresh HELP window too.
  42.            i, ignore the return path and the command line input path but 
  43.               ONLY if the given path is "."
  44.            l, Large environment switch for CCT programs. (460 norm = 160)
  45.            m, More input possible, command line input screen pops up
  46.            n, No waiting after the program runs, return directly to the 
  47.               menu screen.
  48.            o, Switch to NEW path but use OLD path for AMS.LST files.
  49.            O, Use old menu path, but remain on drive:\path set by prgm.
  50.            p, pass command line inputs to this input screen/program
  51.            r, reset to menu AMS.LST, re-list it to the screen when 
  52.               finished with running this program.  (Good for using a
  53.               text editor to change the menu and checking the change.) 
  54.            s, Stay in This Path but use AMS.LST files from new path.
  55.            x, a space holder, no commands being passed.
  56.            z, Run endprgm at Esc-key press ONLY! (For Menus only)
  57.            -, Delete the automatic space between prgm[+commands] and .cct
  58.       3.1     and the extra space between .cct[prgm commands].
  59.            =, NO Title BOX. (f5 = 1)
  60.      /prgm - runs designated program, MUST be last item on line! (EXEC)
  61.      /PRGM - same as above, but runs prgm using a temp DOS (SYSTEM)
  62.      /path - sets a MENU path only, position unchanged. (like "s" above)
  63.  
  64. NOTE: Special from 5.4.0 and later:  the 'e' command above tells AMS 
  65.       that an extension, which is in the AMS*.LST file, must be added
  66.       just after the .cct position holder.  However, this can be turned
  67.       off if you use "cct" and NOT the ".cct" position holder.
  68.  
  69.  
  70. Before running program switches: (For Menus only)
  71.  
  72.     /prgm[name switches] to menu ams.lst options.  (4.00C 2/25/89)
  73.  
  74. EXAMPLE:  /prgmc:\utils\dpath.com -$ c:\wp /prgmc:\utils\dpath.com -$,
  75.  
  76.     The above example will run: c:\utils\dpath.com -$ c:\wp 
  77.     (startprgm)
  78.  
  79.     then upon exit it will run: c:\utils\dpath.com -$
  80.     (endprgm)
  81.  
  82.     Since a "/prgm" type program runs as a child process, the complete 
  83. PATH and file name (including extension) MUST be given!
  84.  
  85.  
  86.  
  87.     More than one program can be run from the Menu line. The form to do 
  88. this is: |prgm1.ext cmnds|prgm2.ext cmnds|prgm3.ext cmnds|  etc.
  89.  
  90.     If These programs need keyboard command input, the 'm' - more code 
  91. above, then the form of the command input MUST be:
  92. |commands for prgm1|commands for prgm2|commands for prgm3|  etc.
  93. Unless the 'a' switch is used. Also if each program needs a different 
  94. extension then the extensions may also use the "|" separators.
  95.  
  96.     If only prgm #2 needs a command it MUST be entered as: 
  97. ||commands for prgm2||  etc.  The || indicates NO commands for that 
  98. program.
  99.  
  100.  
  101.                           Starting  switches
  102.  
  103.  
  104.        /1pg    - CRT only handles 1 page of information. (Use on Herc CRTs)
  105.        /batch  - Started by AMS-STRT.BAT want batch temp exit to DOS
  106.        /dbug   - Will list commands & menus to be used.
  107.        /exit[] - [] == program name to run on exit (Batch mode.)
  108.        /exp    - Expert System display mode switch. - 4.40
  109.        /keep   - keep the AMS-TEMP.CMD file (do not delete it) when the 
  110.                  Esc-key is pressed to exit the AMS program. (At least ONE
  111.                  command line MUST use the /b-BATCH mode for a .CMD file
  112.                  to be saved. Then it can be kept!
  113.        /last   - Causes AMS.EXE to create the AMS-NEXT.BAT file with the 
  114.                  last line of the file being: AMS-LAST so that when the 
  115.                  Esc-key is pressed the ASM-LAST.BAT file will be run.
  116.        /lp     - Causes AMS.EXE to use the LONG PROMPT when out to DOS. 
  117.        /mid    - places menu in center of screen like pre 2.0.
  118.        /nb     - Removes the double line box around the menu title.
  119.        /nc     - No color switching start-up switch. Monochrome will 
  120.                  ALWAYS be used and color mode switching using the C-key
  121.                  will no longer work.
  122.  
  123.        /path[drive:\path] - allows passing of a default path to AMS.
  124.  
  125.        /size   - Adjusts size of menu box to # menu items.
  126.        /u      - Use underscore not dash in ams_strt & ams_next etc..
  127.        /U      - Use Pfind Utilities menu to start!  5.1.0
  128.        /w##    - Wait ## min before blanking screen.
  129.  
  130.  
  131.  
  132.  
  133. *                           Other needed files:
  134.  
  135.     In the BATCH mode "/b" you will need to start the Advanced Menu System
  136. using the AMS-STRT.BAT file.  The Advanced Menu System will create the
  137. file(s) called AMS-NEXT.BAT and last, if you want to return to another 
  138. BATCH file of menu system you will also need to create a file called 
  139. AMS-LAST.BAT.
  140.  
  141.     AMS-STRT.BAT - You create to start the Advanced Menu System. (A 
  142.     AMS_STRT.BAT - sample is on you program disk.)
  143.  
  144.  
  145.     AMS-NEXT.BAT - Created by the Advanced Menu System as needed.
  146.     AMS_NEXT.BAT - 
  147.  
  148.     AMS-LAST.BAT - You create to end the session as desired.    (Need to 
  149.     AMS_LAST.BAT - start the Advanced Menu System with the "/last" 
  150.                    switch.)
  151.  
  152.     AMSBLANK.BAT - If present (in the same path as AMS.EXE) can run any
  153.                    screen saver program you desire.
  154.  
  155.