home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 492.lha / ToolMenu_v36.16 / ToolMenu.doc < prev    next >
Encoding:
Text File  |  1991-04-06  |  1.7 KB  |  54 lines

  1.  
  2. ToolMenu v 36.16 is a tool that allows you to add Applications and Commands
  3. to the Workbench "Tools" menu.
  4.  
  5. ToolMenu may be toggled ON (or OFF) by double clicking it from workbench.
  6. You can place ToolMenu in your wbstartup drawer to have it start up
  7. automatically whenever you boot.  If placed in wbstartup drawer, you must
  8. have the tooltype DONOTWAIT in the icon.
  9.  
  10. Use the Workbench Icon/Information feature to enter ToolTypes in the icon
  11. for the applications/commands that you want to appear in the Workbench
  12. "Tools" menu.  Use the following format for each item:
  13.  
  14. MenuItemName=fullpath/application
  15.  
  16. for example:
  17.  
  18.       Wack=h:MyTools/Wack
  19.       DPaint=h:MyTools/DPaint
  20.       Calculator=SYS:Tools/Calculator
  21.  
  22.  
  23. If you need to set the current directory, stack size, or priority for
  24. the command, use multiple statements separated by Left-Amiga+CTRL-J
  25. (this will insert a CTRL-J which appears as a square into the string).
  26.  
  27. For example:
  28.  
  29.        VT100=cd work:comm<Left-Amiga+CTRL-J>vt100
  30.        MyEditor=stack 10000<Left-Amiga+CTRL-J>work:mytools/MyEditor
  31.  
  32.  
  33. NEW:
  34.  
  35. ToolMenu (with at least Kickstart 36.260) also supports passing Workbench
  36. arguments to your commands in the WB Tools menu.  Select the icon(s) you
  37. wish to pass, and then select your command in the Workbench Tools menu.
  38.  
  39. Define your command with [] where you want any arguments inserted,
  40. either within the command or at the end of the command.  If you do
  41. not have a [] in your command, no arguments (selected icons) will be
  42. inserted.
  43.  
  44. Example: TypeHex=type [] hex
  45.      List=list []
  46.  
  47.  
  48. Note for CLI purists - ToolMenu uses commodities ArgArrayInit, so you should
  49. also be able to specify the arguments via command line, in the same format.
  50.  
  51.  
  52. Carolyn
  53.  
  54.