home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wf.zip / Shareware / WF.CFG < prev    next >
Text File  |  1996-08-06  |  4KB  |  154 lines

  1. # configuration-file for <Object WorkFrame>
  2. #
  3. # syntax: MENUITEM\MENUITEM\...;HotKey;exefile exeoptions JOKER;KEYWORD
  4. #
  5. #   MENUITEM describes a menuitem to insert. Therefor you can/must give/create
  6. #   a path where to insert the menuitem (see below). On default the items are
  7. #   inserted in the window∩s menu, if the first MENUITEM is POPUP, the item will
  8. #   be inserted in the popup-menu. If the last MENUITEM is SEPARATOR a separator
  9. #   is inserted.
  10. #
  11. #   JOKERs are:
  12. #     %m  makefile
  13. #     %e  output-file
  14. #     %p  project-path
  15. #     %r  run-options
  16. #     %s  selected files
  17. #
  18. #   KEYWORDs are:
  19. #     MONITOR   monitor the program (usefule for command-line programs)
  20. #     CD=path;  change to directory <path> before executing
  21. #     TOOLBAR=path   add a button to the toolbar with a bitmap given in <path>
  22. #                    (bitmaps shouldn∩t be greater than 32x32 pixels)
  23. #     TOOLBAR   add a button to the toolbar with the text of the menuitem
  24. #
  25. #
  26. # The shareware-version allows only 10 entrys.
  27. #
  28. #
  29. # EXAMPLES
  30. #
  31. #
  32. #EXAMPLE 1 - IBM CSet++  (disabled)
  33. #
  34. #
  35. # Generate <Action>-menuitem:
  36. #Action\;
  37. #
  38. # menuitem for ibm∩s nmake-utility, hotkey is Ctrl+Shift+M:
  39. #Action\Make\;M;nmake.exe /f %m;MONITOR
  40. #
  41. # menuitem for icc-compiler, hotkey Ctrl-Shift-C, give selected files to the compiler:
  42. #Action\Make\Compile;C;icc.exe -c %s;MONITOR
  43. #
  44. # Run-menuitem, first joker is the exefile, second the run-options:
  45. #Action\Run;R;%e %r;
  46. #
  47. # menuitem for the  debugger, Hotkey Ctrl+Shift+D, give the output-file as parameter
  48. #Action\Debug;D;ipmd.cmd %e;
  49. #
  50. # Generate <Tools>-menuitem:
  51. #Tools\;
  52. #
  53. # menuitem for dialog-editor, call exe with selected files:
  54. #Tools\Dialog Editor;;C:\ibmcpp\BIN\DLGEDIT.EXE %s;
  55. #
  56. # menuitem for icon-editor,  call exe with selected files:
  57. #Tools\Icon Editor;;C:\ibmcpp\BIN\ICONEDIT.EXE %s;
  58. #
  59. # generate <Help>-menuitem:
  60. #Help\;
  61. #
  62. # generate menuitem for the Object Workframe Reference, hotkey Ctrl-Shift-O,
  63. # executable is view.exe, INF-file is wf.exe:
  64. #Help\Object Workframe Reference;O;view.exe wf.inf;
  65. #
  66. #
  67. #
  68. #
  69. #EXAMPLE 2 - GNU/EMX (enabled)
  70. #
  71. #
  72. # Generate <Action>-menuitem:
  73. Action\;
  74. #
  75. # menuitem for GNU Make-utility, hotkey is Ctrl+Shift+M, create a button in the toolbar:
  76. Action\Make\;M;make.exe -f %m;MONITOR;TOOLBAR=make.bmp;
  77. #
  78. # menuitem for gcc-compiler, hotkey Ctrl-Shift-C, give selected files to the compiler:
  79. Action\Compile;C;gcc.exe -c %s;MONITOR
  80. #
  81. # Run-menuitem, first joker is the exefile, second the run-options, create a button in the toolbar:
  82. Action\Run;R;%e %r;TOOLBAR=run.bmp;
  83. #
  84. # menuitem for the  debugger, Hotkey Ctrl+Shift+D, give the output-file as parameter
  85. Action\Debug;D;ipmd.cmd %e;
  86. #
  87. # Generate <Tools>-menuitem:
  88. Tools\;
  89. #
  90. # menuitem for dialog-editor, call exe with selected files:
  91. Tools\Dialog Editor;;C:\ibmcpp\BIN\DLGEDIT.EXE %s;
  92. #
  93. # menuitem for icon-editor,  call exe with selected files:
  94. Tools\Icon Editor;;C:\ibmcpp\BIN\ICONEDIT.EXE %s;
  95. #
  96. # menuitem for a command shell
  97. Tools\command shell;;cmd.exe;
  98. #
  99. # generate <Help>-menuitem:
  100. Help\;
  101. #
  102. # generate menuitem for the Object Workframe Reference, hotkey Ctrl-Shift-O,
  103. # executable is view.exe, INF-file is wf.exe:
  104. Help\Workframe Reference;O;view.exe wf.inf;
  105. #
  106. #
  107. #
  108. #
  109. #
  110. #
  111. # EXAMPLE 3 - invoking OOL helpfiles (disabled)
  112. #
  113. #
  114. # Generate <Help\OOL>-submenu:
  115. #Help\OOL;
  116. #
  117. # menuitem to call the help-overview from the ool-project, hotkey is Ctrl+Shift+H:
  118. #Help\OOL\Overview;H;explore.exe c:\source\ool\doc\ool.htm;CD=C:\source\ool\doc;
  119. #
  120. # menuitem to call the help-index from the ool-project, hotkey is Ctrl+Shift+I:
  121. #Help\OOL\Index;I;explore.exe c:\source\ool\doc\index.htm;CD=C:\source\ool\doc;
  122. #
  123. #
  124. #
  125. #
  126. #
  127. # EXAMPLE 4 - invoking emx-documentation (disabled)
  128. #
  129. #
  130. # <Help\EMX>-submenu and menu-entrys:
  131. #Help\EMX;
  132. #Help\EMX\Library;L;view.exe c:\emx\book\emxlib.inf;
  133. #Help\EMX\Developer∩s Guide;G;view.exe c:\emx\book\emxdev.inf;
  134. #Help\EMX\Runtime;;view.exe c:\emx\book\emxrt.inf;
  135. #
  136. #
  137. #
  138. #
  139. #
  140. # EXAMPLE 5 - invoking OS/2-documentation (disabled)
  141. #
  142. #
  143. #Help\OS2;
  144. #Help\OS2\Presentation Manager;;view.exe pmref;
  145. #Help\OS2\Workplace Shell;;view.exe wpsref;
  146. #Help\OS2\Graphic Programming;;view.exe gpiref;
  147. #Help\OS2\Multimedia;;view.exe mmref;
  148. #Help\Rexx;
  149. #Help\Rexx\Rexx Introduction;;view.exe rexx.inf;
  150. #Help\Rexx\Rexx Reference;;view.exe c:\ibmcpp\help\rexxapi.inf;
  151. #Help\Rexx\Visual Rexx;;view.exe c:\book\vrexx.inf;
  152. #
  153. #
  154.