home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Contrib / Nessy-MP-Tools / wbargscript.doc < prev    next >
Text File  |  1995-09-17  |  3KB  |  94 lines

  1. Copyright, Distribution:
  2. ========================
  3.  
  4. wbargscript is Copyright © 1995 by Angela Schmidt.
  5.  
  6. You  may  use  this  software  for  private  use.  If  you want to use it
  7. commercially,  you  must have a written permission by the author. Private
  8. distribution  is  allowed.  Distribution  on  Meeting  Pearls  CD-ROMs is
  9. allowed,  too.  Commercial  distribution  is  forbidden. All other rights
  10. reserved.
  11.  
  12.  
  13. Introduction:
  14. =============
  15.  
  16. This  program  allows  to start programs from workbench even if they have
  17. been written for CLI usage and even if they different arguments each time
  18. you  use  them.  The  arguments will be passed through multiple arguments
  19. selection supported by your workbench. That's how it works:
  20.  
  21. Click once on the program icon, press the shift key, select all icons you
  22. want to be passed as arguments and double-click the last one. You now may
  23. release the shift key.
  24.  
  25. Now  a  program  will be started and all selected icons will be passed as
  26. arguments.  The tooltypes of wbargscript are used to decide which program
  27. is to be started.
  28.  
  29.  
  30. Tooltypes:
  31. ==========
  32.  
  33. COMMAND=<command with some arguments>
  34.  
  35. This  is the command to be called. The spaces where the arguements are to
  36. be  filled  in  are  marked  by  "[]".  The  last of these tokens will be
  37. replaced  by all outstanding arguments. If there's no "[]" in the COMMAND
  38. tooltype, arguments will be added at the end of the line.
  39.  
  40. ADDVOLUMENAME
  41.  
  42. Normally,  the  path  will  be  only  expanded  until  the root, so every
  43. argument  starts  with a colon. ADDVOLUMENAME adds the volume name before
  44. the colon.
  45.  
  46. NOQUOTES
  47.  
  48. There won't be passed quotes around the arguments.
  49.  
  50. NOMULTIARGS
  51.  
  52. If  you  set  this  tooltype  there's only one argument allowed per token
  53. "[]".  If  the user passes more icons than there are tokens available, an
  54. error will occur.
  55.  
  56. USAGE
  57.  
  58. If  the  user passes too many or not enough arguments, the message passed
  59. here will be displayed.
  60.  
  61. USAGECMD
  62.  
  63. If  the user passes too many or not enough arguments, the command passed here
  64. will be started. It is suggested to show an error message here.
  65.  
  66.  
  67. Examples:
  68. =========
  69.  
  70. COMMAND=IconAlign FROM [] HORIZONTAL TO []
  71. ADDVOLUMENAME
  72.   Aligns  some  icons  to  the  same  line. IconAlign has been written by
  73.   Oliver Knorr <olk@johann.nbg.sub.org> and is freeware.
  74.  
  75. COMMAND=IconAlign FROM [] VERTICAL TO []
  76. ADDVOLUMENAME
  77.   Aligns  some  icons  to  the same column. IconAlign has been written by
  78.   Oliver Knorr <olk@johann.nbg.sub.org> and is freeware.
  79.  
  80. COMMAND=List [] LFORMAT "%9l %8a %9d %8t %p%n" DATES ALL
  81. ADDVOLUMENAME
  82.   Lists all files and directories passed in a nice format.
  83.  
  84.  
  85. Author:
  86. =======
  87.  
  88. Angela Schmidt
  89. Finkenweg 26
  90. 89233 Neu-Ulm
  91. 0721/696307
  92.  
  93. Angela@rz.uni-karlsruhe.de
  94.