home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / mse.zip / msemenu1.dat < prev    next >
Text File  |  1997-05-07  |  3KB  |  74 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:
  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. ; Lines cannot exceed 1000 bytes in length.
  48. ;
  49. ; One entry per line.
  50. ;
  51. ; Lines beginning with a semi-colon (like this one) are comments, and
  52. ; are ignored.  They have to be read from disk, so don't go overboard
  53. ; (like this file :-).
  54. ;
  55. ; You can have up to seven of these menu files, named MSEMENU#.DAT
  56. ; where # is 1-7.
  57. ;
  58. ;
  59. ; /* Example of creating a WPS object with an ObjectID in REXX: */
  60. ; /* =========================================================  */
  61. ; call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  62. ; call SysLoadFuncs
  63. ; SysCreateObject('WPFolder','My Folder','<WP_DESKTOP>,'OBJECTID=<My_Folder>,f)
  64. ;
  65. ;
  66. ; The actual menu items appear below:
  67. ;
  68. e.exe
  69. ib.exe
  70. <WP_CLOCK>
  71. <WP_DRIVES>
  72. <WP_FNTPAL>
  73. <WP_CONFIG>
  74.