home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 510.lha / MyOwnMenu_v1.32 / mom.englishshort.doc < prev    next >
Encoding:
Text File  |  1991-05-07  |  2.0 KB  |  63 lines

  1. This  is  a  simple english translation of mom's doc.  This program is very
  2. much  alike  MyMenu  with the exception that it behaves very well with (and
  3. requires  too!)  arp.library.   It  also  allows to generate simple in-line
  4. scripts with IF, ELSE and similar commands.
  5. TO USE:
  6.       *Copy MOM-HANDLER in L:
  7.       *Create the file (in the directory S:) MOM-Startup with the syntax
  8. described below;
  9.       *Copy MOM in C: directory and type MOM at the cli prompt (no
  10. workbench) or insert a line MOM >NIL: in your startup-sequence;
  11.       *To remove MOM type MOM quit;
  12.  
  13.  
  14. THE STARTUP FILE:
  15. This file is very similar to DOS command lines as explained in DOS manuals:
  16.  
  17. M=MENU/a, E=EXEC/k, W=WB/k, B=BACK/k, C=CONSOLE/k, K=KEY/k
  18.  
  19. so that a line like:
  20.  
  21. MENU "Test/AShell"   WB "SYS:AShell"  KEY "*e"
  22.  
  23. will define a menuitem "Ashell" into the "test" menu linking it with the
  24. key ESC as a shortcut to start Ashell in a way similar to clicking on its
  25. icon.
  26.  
  27. MENU "Test/Memory/Flush" BACK  "C:Avail FLUSH" KEY "F"
  28.  
  29. this line will instead define a menuitem "FLUSH" into the submenu "Memory" of
  30. menu "TEST" and launch in the background the dos command avail flush, with
  31. the Keyboard shortcut "F".
  32.  
  33. M "Test/Snap ON" B "WaitForPort -immediate Snap.port*nIF WARN*nC:Snap -i0*nENDIF"
  34.  
  35. this line is an example of a short script embedded in thecommand that
  36. launches the utility SNAP only after a security check.
  37.  
  38. M "Test/Dir Inter" E "Dir SYS: opt i" CONSOLE "CON:0/0/640/200/Dir Interactive"
  39.  
  40. Last, this line defines a menuitem"Dir Inter" in menu "test" that opens an
  41. interactive console window and lets you browse the SYS: directory
  42. interactively.
  43.  
  44. You will find many more short examples in the example configuration file.
  45.  
  46. PLEASE TAKE NOTE THAT MOM IS *NOT* PUBLIC DOMAIN BUT YOU CAN FREELY
  47. REDISTIBUITE THIS ARCHIVE IN ITS INTACT FORM AND FREE OF CHARGE AS MUCH AS
  48. YOU WISH.
  49.  
  50. MOM was written in 1990 by
  51.  
  52.                         Marco Lusini
  53.  
  54.                         loc. Ceciliano 165
  55.                         52100 Arezzo
  56.                         Italy
  57.  
  58. who can be reached by electronic mail asking to
  59.                         Gianluca Bigagli
  60.  
  61.                          FidoNet 2:332/100.2
  62.                                 2:332/100.18
  63.