home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rxlbox13.zip / sample5.cmd < prev    next >
OS/2 REXX Batch file  |  1998-03-01  |  4KB  |  107 lines

  1. EXTPROC RXLBOX.CMD %0 /EXTPROC
  2. ; --------------------------------------------------------------------
  3. ;
  4. ; Menu description file for RxLBox v1.30 to test EXTPROC feature
  5. ;
  6. ; (see RXLBOX.MEN for a complete description of menu description files;
  7. ;  see RXLBOX.CMD for the usage description)
  8. ;
  9. ; --------------------------------------------------------------------
  10. [*MainMenu*]
  11. Title1             = Sample menu file for RxLBox v1.30
  12. Title2             = RxLBox is Copyright (c) 1996-1998 by Bernd Schemmer
  13. Title3             = This menu is called via the EXTPROC feature
  14. StatusLine         = Choose a menu entry to test RXLBOX.
  15. InputPrompt        = Your choice:
  16. HelpPrompt         = Press any key to continue ...
  17. ErrorPrompt        = Press any key to continue ...
  18. CLS                = WHITE ON BLACK
  19. AcceptAllInput     = NO
  20. HelpForF1          = MAINHELP
  21. HelpForCTRL_F1     = KEYHELP
  22. HelpForALT_F1      = INPUTLINEHELP
  23.  
  24. ; turn off CTRL-C
  25. OnInit             =  nop; MenuDesc.__NoHalt = 1;
  26.  
  27. MenuItem.#         = Read the file README.DOC
  28. Action.#           = #ExecuteCmd() {'E' directory() || '\readme.doc'} 
  29. StatusLine.#       = Choose this entry to view the file README.DOC
  30.  
  31. MenuItem.#         = Help for the format of menu description files
  32. Action.#           = #ExecuteCmd() {'E' directory() || '\RXLBOX.MEN'}
  33. StatusLine.#       = Choose this entry to view the file RXLBOX.MEN
  34.  
  35. MenuItem.#         = Help for the usage of RXLBOX
  36. Action.#           = #ExecuteCmd() {'E' directory() || '\RXLBOX.CMD'}
  37. StatusLine.#       = Choose this entry to view the file RXLBOX.CMD
  38.  
  39. MenuItem.#         = ---------------------------------------------------------------------------
  40. Action.#           = #NOP()
  41. StatusLine.#       = This is a dummy entry
  42.  
  43. MenuItem.#         = Try the SAMPLE1
  44. Action.#           = #ExecuteCmd() {'*cmd /c ' || directory() || '\SAMPLE1.CMD' }
  45. StatusLine.#       = Choose this entry to run the SAMPLE1.CMD
  46.  
  47. MenuItem.#         = Try the SAMPLE2
  48. Action.#           = #ExecuteCmd() {'*cmd /c ' || directory() || '\SAMPLE2.CMD' }
  49. StatusLine.#       = Choose this entry to run the SAMPLE2.CMD
  50.  
  51. MenuItem.#         = Try the SAMPLE3
  52. Action.#           = #ExecuteCmd() {'*cmd /c ' || directory() || '\SAMPLE3.CMD' }
  53. StatusLine.#       = Choose this entry to run the SAMPLE3.CMD
  54.  
  55. MenuItem.#         = Try the SAMPLE4 
  56. Action.#           = #ExecuteCmd() {'*cmd /c ' || directory() || '\SAMPLE4.CMD' }
  57. StatusLine.#       = Choose this entry to run the SAMPLE4.CMD
  58.  
  59. ; ----------------------------
  60. [<MainHelp>]
  61. This the online help for the main menu. The main menu is the default
  62. menu displayed by RxLBox if it's called with no menu parameter.
  63.  
  64. Each online help can have up to 14 lines with up to 69 characters.
  65.  
  66. ---------------------------------
  67.  
  68. Use <CTRL-F1> to call the online help with the function key description.
  69. Use <ALT-F1> to call the online help with the input line description.
  70. [dummy section]
  71.  
  72. ; ----------------------------
  73. [<KeyHelp>]
  74. F1 - show the online help
  75. ALT-F1 - show the input line description
  76. CTRL-F1 - show the function key description
  77.  
  78. F8 - show macro list              F9 - refresh display
  79. F11 - show list of all menus      F12 - show menu history list
  80.  
  81. F10 - Quit                        ESC - go one menu back
  82.  
  83. RETURN - choose the highlighted entry
  84.  
  85. Use the cursor keys, PgDn, PgUp, Home, End, CTRL-Home and CTRL-End
  86. to scroll through the menu.
  87. [dummy section]
  88.  
  89. ; ----------------------------
  90. [<InputLineHelp>]
  91. +n - scroll down n entries        -n scroll up n entries
  92.  n - choose the entry n if its on the current page
  93.      or
  94.      jump to the entry if it's not on the current page
  95.  
  96.  *command - exeucte the OS/2 command 'command' (Preceed the command
  97.             with another asterix '*' to wait after execution)
  98.  
  99.  macroName - execute the macro 'macroName'
  100.  
  101. ---------------------------------
  102. Use <F1> to call the general online help
  103. Use <CTRL-F1> to call the online help with the key description.
  104. [dummy section]
  105.  
  106. ; --------------------------------------------------------------------
  107.