home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 October / PCO_1098.ISO / filesbbs / os2 / mse15898.arj / MSE.ZIP / msemenu1.tmp < prev    next >
Encoding:
Text File  |  1998-08-14  |  3.0 KB  |  82 lines

  1. ;
  2. ; MSEMENU1.DAT -- a sample for MSE
  3. ;
  4. ; You can place the name of a program to run or the objectID of a WPS
  5. ; object in this file, and it'll be accessible in a menu in MSE.  The
  6. ; commands "Menu #1" through "Menu #7" activate them.  This menu will
  7. ; be activated by the "Menu #1" command (hence the "1" in the filename).
  8. ;
  9. ; Note this is more of an example file than an attempt to do something
  10. ; actually useful...
  11. ;
  12. ;
  13. ; Hints:
  14. ; =====
  15. ;
  16. ; MSE will allow you to create a menu definition file if you try to
  17. ; access one that doesn't exist.  If you select a command from a menu
  18. ; while holding down the Ctrl key, MSE will allow you to edit the
  19. ; menu definition file instead of executing the command.  The menu will
  20. ; automatically be reloaded when you're done editing.  You can edit
  21. ; the file normally with some other editor, but then you'll need to
  22. ; use the "Reload menus" option to cause all menus to be reloaded the
  23. ; next time you try to pop them up -- no biggie.
  24. ;
  25. ;
  26. ; Rules:
  27. ; =====
  28. ; If the name of the program contains a space _and_ you wish to give
  29. ; an argument to the program after the name, you must enclose the
  30. ; program name in quotes (like on a command line).  For example:
  31. ; "MY TERRIBLY COOL.EXE" file.txt
  32. ;
  33. ; If you give a fully qualified path to the program, that path will be
  34. ; used as the initial starting directory when the program is run;
  35. ; otherwise, the default directory (MSE's) will be used.
  36. ;
  37. ; To specify a WPS object, it must have an objectID.  You can create
  38. ; named objects using REXX (see below).  ObjectIDs have the form: <OBJECTNAME>
  39. ; Examples of pre-named objects (look in \OS2\INI.RC for more):
  40. ;  The system clock:         <WP_CLOCK>
  41. ;  The Drives object:        <WP_DRIVES>
  42. ;  The font palette:         <WP_FNTPAL>
  43. ;  The system setup folder:  <WP_CONFIG>
  44. ; Exception:  Folders and data files can be opened just by specifying
  45. ; their fully qualified path name (i.e. C:\OS2\BITMAP).
  46. ;
  47. ; To specify a different menu to be invoked by a menu item,
  48. ; use & as the first character of the command, and include
  49. ; the number of the menu.  For example:
  50. ;  &My MSE menu #1
  51. ;  &My other MSE menu (7)
  52. ; MSE keys on the first number between 1 and 7 in the text to figure
  53. ; out which menu to invoke.
  54. ;
  55. ; Lines cannot exceed 1000 bytes in length.
  56. ;
  57. ; One entry per line.
  58. ;
  59. ; Lines beginning with a semi-colon (like this one) are comments, and
  60. ; are ignored.  They have to be read from disk, so don't go overboard
  61. ; (like this file :-).
  62. ;
  63. ; You can have up to seven of these menu files, named MSEMENU#.DAT
  64. ; where # is 1-7.
  65. ;
  66. ;
  67. ; /* Example of creating a WPS object with an ObjectID in REXX: */
  68. ; /* =========================================================  */
  69. ; call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  70. ; call SysLoadFuncs
  71. ; SysCreateObject('WPFolder','My Folder','<WP_DESKTOP>,'OBJECTID=<My_Folder>,f)
  72. ;
  73. ;
  74. ; The actual menu items appear below:
  75. ;
  76. e.exe
  77. ib.exe
  78. <WP_CLOCK>
  79. <WP_DRIVES>
  80. <WP_FNTPAL>
  81. <WP_CONFIG>
  82.