home *** CD-ROM | disk | FTP | other *** search
- **** when running AMS and a menu is present, press ? for system help ****
-
- An example AMS.LST file is below along with the definitions of the
- AMS codes. (Note: Commas and spacing are important!!)
-
- ┌───────────────────────────────────────────────────────────────────────┐
- │ 3, 3, optional-help-file-# │
- │ KES Editor Menu │
- │ " See a file ", ., see.cct, pemn, 001, 1, " See text editor ", KB │
- │ " Print a file ", ., pprint.cct, pem, 001, 2, " Uses Pprint ", KB │
- │ " Paper Advance ", \DOS, clrprt.exe, nm, 001, 3, " Sends Form Feed " │
- └───────────────────────────────────────────────────────────────────────┘
-
- 3, 3 = Three lines of menu items, Three CR-LF's between each line
- ( = two spaces)
-
- optional-help-file-#: used if a help program is used in the normal
- help file name section (help-file-#).
-
- EXAMPLE: dos-help.exe format
-
- This would run the program DOS-HELP.EXE and find
- the help on "FORMAT" when the F1-key was pressed.
- (As long as the program could be run.)
-
- Menu Title
-
- Menu lines: " Menu Item ", \path, prgm.ext, codes, help-file-#,
- help-file-block-#, " One line help info ", ext-(if
- needed)
-
- Command code list (a, b, c, e, h, i, l, m, n, o, p, r, s, x, or -), as
- many or as few as needed.
-
- a, Send Command screen command to ALL programs to be run.
- * 3.0 b, BATCH mode. Create a BATCH file and run application
- through it. All RAM memory for application program use!
- * 4.3 c, Center a menu, for menus only NOT a PROGRAM command!
- e, extension to be given and used, at end of ams.lst command.
- E, Expert system type menu.
- * 3.2 h, If 'r' used then refresh HELP window too.
- i, ignore the return path and the command line input path but
- ONLY if the given path is "."
- l, Large environment switch for CCT programs. (460 norm = 160)
- m, More input possible, command line input screen pops up
- n, No waiting after the program runs, return directly to the
- menu screen.
- o, Switch to NEW path but use OLD path for AMS.LST files.
- O, Use old menu path, but remain on drive:\path set by prgm.
- p, pass command line inputs to this input screen/program
- r, reset to menu AMS.LST, re-list it to the screen when
- finished with running this program. (Good for using a
- text editor to change the menu and checking the change.)
- s, Stay in This Path but use AMS.LST files from new path.
- x, a space holder, no commands being passed.
- z, Run endprgm at Esc-key press ONLY! (For Menus only)
- -, Delete the automatic space between prgm[+commands] and .cct
- 3.1 and the extra space between .cct[prgm commands].
- =, NO Title BOX. (f5 = 1)
- /prgm - runs designated program, MUST be last item on line! (EXEC)
- /PRGM - same as above, but runs prgm using a temp DOS (SYSTEM)
- /path - sets a MENU path only, position unchanged. (like "s" above)
-
- NOTE: Special from 5.4.0 and later: the 'e' command above tells AMS
- that an extension, which is in the AMS*.LST file, must be added
- just after the .cct position holder. However, this can be turned
- off if you use "cct" and NOT the ".cct" position holder.
-
-
- Before running program switches: (For Menus only)
-
- /prgm[name switches] to menu ams.lst options. (4.00C 2/25/89)
-
- EXAMPLE: /prgmc:\utils\dpath.com -$ c:\wp /prgmc:\utils\dpath.com -$,
-
- The above example will run: c:\utils\dpath.com -$ c:\wp
- (startprgm)
-
- then upon exit it will run: c:\utils\dpath.com -$
- (endprgm)
-
- Since a "/prgm" type program runs as a child process, the complete
- PATH and file name (including extension) MUST be given!
-
-
-
- More than one program can be run from the Menu line. The form to do
- this is: |prgm1.ext cmnds|prgm2.ext cmnds|prgm3.ext cmnds| etc.
-
- If These programs need keyboard command input, the 'm' - more code
- above, then the form of the command input MUST be:
- |commands for prgm1|commands for prgm2|commands for prgm3| etc.
- Unless the 'a' switch is used. Also if each program needs a different
- extension then the extensions may also use the "|" separators.
-
- If only prgm #2 needs a command it MUST be entered as:
- ||commands for prgm2|| etc. The || indicates NO commands for that
- program.
-
-
- Starting switches
-
-
- /1pg - CRT only handles 1 page of information. (Use on Herc CRTs)
- /batch - Started by AMS-STRT.BAT want batch temp exit to DOS
- /dbug - Will list commands & menus to be used.
- /exit[] - [] == program name to run on exit (Batch mode.)
- /exp - Expert System display mode switch. - 4.40
- /keep - keep the AMS-TEMP.CMD file (do not delete it) when the
- Esc-key is pressed to exit the AMS program. (At least ONE
- command line MUST use the /b-BATCH mode for a .CMD file
- to be saved. Then it can be kept!
- /last - Causes AMS.EXE to create the AMS-NEXT.BAT file with the
- last line of the file being: AMS-LAST so that when the
- Esc-key is pressed the ASM-LAST.BAT file will be run.
- /lp - Causes AMS.EXE to use the LONG PROMPT when out to DOS.
- /mid - places menu in center of screen like pre 2.0.
- /nb - Removes the double line box around the menu title.
- /nc - No color switching start-up switch. Monochrome will
- ALWAYS be used and color mode switching using the C-key
- will no longer work.
-
- /path[drive:\path] - allows passing of a default path to AMS.
-
- /size - Adjusts size of menu box to # menu items.
- /u - Use underscore not dash in ams_strt & ams_next etc..
- /U - Use Pfind Utilities menu to start! 5.1.0
- /w## - Wait ## min before blanking screen.
-
-
-
-
- * Other needed files:
-
- In the BATCH mode "/b" you will need to start the Advanced Menu System
- using the AMS-STRT.BAT file. The Advanced Menu System will create the
- file(s) called AMS-NEXT.BAT and last, if you want to return to another
- BATCH file of menu system you will also need to create a file called
- AMS-LAST.BAT.
-
- AMS-STRT.BAT - You create to start the Advanced Menu System. (A
- AMS_STRT.BAT - sample is on you program disk.)
-
-
- AMS-NEXT.BAT - Created by the Advanced Menu System as needed.
- AMS_NEXT.BAT -
-
- AMS-LAST.BAT - You create to end the session as desired. (Need to
- AMS_LAST.BAT - start the Advanced Menu System with the "/last"
- switch.)
-
- AMSBLANK.BAT - If present (in the same path as AMS.EXE) can run any
- screen saver program you desire.
-
-