home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / utilities / misc / dad_pub.lha / DAD_pub / Doc / DoAllData.doc < prev    next >
Encoding:
Text File  |  1994-08-29  |  7.5 KB  |  162 lines

  1. DoAllData by many people and Sven Dickert (15-Mar-94)
  2.  
  3. DoAllData (short DAD) will give you comfortable handling with all sort of
  4. data. It establishes an AppIcon on the Workbench. Any icon that you will put
  5. in (drag-and-drop) will force the start of the viewing-, playing-,
  6. unpackingprogram or any other application that can process the icon's data
  7. type.
  8.  
  9. Why DoAllData ?
  10. When working with PD software there is always the same problem: Every
  11. PD-series uses another picviewer, another modplayer, another packer ...
  12. A comfortable handling often means having to install all these programs on
  13. your bootdisk, because the DefaultTool in the projecticons uses the series'
  14. programs. If you are storing all these programs in c:-device your bootdisk
  15. will soon be full of programs that do just the same tasks or you have to
  16. change the DefaultTool in the info of every projecticon you want to display.
  17. Some kind of data can't even be used on Workbench, e.g. some types of
  18. archivers that come without an installing batch. So you will have to go down
  19. to the jungle of a Shell or a CLI and hack some commands into your keyboard
  20. by yourself. This isn't nice with an Amiga that should work with mouse only.
  21. On the other hand more and more users append suffixes like >.iff< or >.lha<
  22. to their programs. Why not using this information to make handling with
  23. these files easier ?
  24. Ok, here's the trick: DAD looks at the suffix of every file that you put
  25. into the AppIcon. Then it will start the needed program and supply the path
  26. and name of the file as parameters to it (CLI-like style). Suffixes and
  27. programs may of course be changed by the user.
  28.  
  29. How to install DoAllData
  30. If you want to install DAD you should know how to copy files into
  31. subdirectories of your (hard)disks. If you don't know about opening drawers,
  32. copying files and stuff, than please ask someone who can tell you what to
  33. do.
  34. To install DAD just copy the program into the WBStartup drawer of your
  35. bootdisk. If your want DAD to work in a different language than English you
  36. may find a >.catalog< file in the >Catalogs< drawer of DAD. If there is no
  37. catalog file for your language, then please connect me if you want to be
  38. language-developper for DAD. (Just typing a few strings, o.k. )
  39. WB 2.0 users who don't know about catalogs don't need to bother about the
  40. last paragraph, they don't have the possibility of a multilingual Amiga.
  41.  
  42. How to work with DAD?
  43. To give a better understanding of the features' of DAD I will explain some
  44. questions you will probably have when you start working with DAD.
  45.  
  46. 1. How do I make DAD work with my favourite data-types and viewing programs ?
  47. Now, that's very easy. DAD will be programmed by the ToolTypes of its
  48. program icon. You can reach these ToolTypes by quitting the program (try to
  49. start the program a second time or use the Commodity Exchange) and use
  50. Icon/Info on its program-icon. If you haven't started DAD you don't have to
  51. exit it ...
  52. When using Kick2.04 you may quit DAD in another way: klick on the AppIcon
  53. itself twice and you will get a requester asking whether you want to leave
  54. the program.
  55. Kick3.0 users don't have to leave the program. They can reach the ToolTypes
  56. by klicking the AppIcon twice.
  57. The syntax of a DAD-ToolType is very easy:
  58.  
  59. E.g. txt=c:more ?
  60.  
  61. The line is split by the >=<. The string before the >=< stands for the
  62. suffix you want to cover. Behind the >=< there is the path and the name of
  63. the program that is to be started if the suffix comes up. The >?< is a
  64. special character: it fixes the position where the path and filename of the
  65. icon you chose will be placed (useful if the filename is not the last
  66. parameter).
  67.  
  68. E.g. device=copy ? to ram:
  69.  
  70. will copy all files with suffix >.device< to ram: when dropped into DAD.
  71. If there's no >?< in the line the path and name will automatically be
  72. appended to the line (with a leading space).
  73. Have you finished setup? Then leave the requester with >save< and start DAD
  74. again. Kick3.0 users don't have to start DAD again, because the AppIcon will
  75. appear (after a commercial break ...) on the WorkBench.
  76.  
  77. 2. Is it possible to set the position of the AppIcon on the WorkBench before
  78. the start of DAD?
  79. There are two keywords in ToolTypes responsible for the position of the
  80. AppIcon on the WB: CX_XPOS and CX_YPOS. Just set them as shown below:
  81.  
  82. CX_XPOS=18
  83. CX_YPOS=4
  84.  
  85. Put these lines into the ToolTypes (or change the x- and y-coordinates to
  86. wherever you would like to see the icon).
  87.  
  88. 3. How can I temporarily disable some lines in ToolTypes (without deleting
  89. them) ?
  90. A ToolType that begins with a >(< character won't be used any more. Because
  91. of the compatibility to other Commodities you should set a >)< at the end of
  92. the line as well.
  93.  
  94. 4. I have got many files without a suffix in their name. Do I have to rename
  95. all these files to work with DAD ?
  96. There is a keyword (CX_DEFAULT) to determine a program that will be started
  97. if DAD couldn't find out what type of file you dropped in.
  98.  
  99. E.g. CX_DEFAULT=sys:utilities/multiview
  100.  
  101. You should use Multiview as default, because it covers many types of data.
  102.  
  103. 5. What will happen if I drop a drawer- or a deviceicon into the AppIcon of
  104. DAD ?
  105. You can specify DAD's reaction to this with the keyword CX_DEVICE.
  106.  
  107. E.g. CX_DEVICE=c:list >con:10/10/620/236/DoAllData/Auto/Wait
  108.  
  109. This will execute the CLI-Command >list< on all devices or drawers you drop
  110. in. Notice that DAD doesn't care about the I/O-channels of the programs it
  111. is going to start. If you want to see the result of a program you have to
  112. use the way in the example.
  113.  
  114. 6. When working with archivers like >lha<, how can I set the
  115. destination-directory for these programs ?
  116. With the keyword CX_DESTDIR you can set the destination-directory like this:
  117.  
  118. CX_DESTDIR=ram:
  119.  
  120.  
  121. Just a few tricks:
  122. When starting DAD from the WBStartup-drawer don't forget to use >DONOTWAIT<
  123. on top of the list of ToolTypes.
  124. DAD will also work with multiple files dropped in. It will process all files
  125. in the order you have selected them while pressing the shift key.
  126. DAD doesn't work with real multitasking. That means that after a program has
  127. been started by DAD, DAD won't start another. However, after exiting the
  128. program DAD remembers all files you have dropped in meanwhile and will start
  129. them. So you may establish e.g. a little diashow with DAD just by selecting
  130. several picture icons with shift held down and dragging them onto the DAD
  131. icon.
  132. If you will work in multitasking you may include the command >run< before
  133. the main command in the ToolType. Please don't use the char >"< to link the
  134. commandline because DAD will do this for you.
  135.  
  136. About me (Hey man, read this !)
  137. Sven Dickert studies at the University of Karlsruhe the art of
  138. computer-science (art is not science, isn't it ?). He has entered the world
  139. of computers with a VIC-20. (nice times went quick). After a C-128 he bought
  140. an Amiga 1000 for about 2200 DM (it was a lot of money for a poor pupil).
  141. Then, after a small A-500, he bought the real offspring of the A1000, the
  142. A1200.
  143.  
  144. There may be some errors in this project. Please let me know about them:
  145.  
  146. (Internet)  = S_DICKERT@ira.uka.de
  147. (Post)      = Sven Dickert
  148.               Lindenstr. 31
  149.               74928 Hüffenhardt-Kä
  150.  
  151.  
  152. About many
  153. This program hadn't been possible without the help of many people :
  154. my mother    lets me study although hard times come up
  155. {Atari    for the ST, enabling comfortable error checking in other
  156. people's docs! ;-)} /* This was just the guy checking up my bad english */
  157. Commodore    for Amiga
  158. (c) by Sven Dickert. All rights reserved.
  159. You will use this software on your own risk.
  160. The names of the programs appearing in this text are under the copyright of
  161. their authors.
  162.