home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / f / filefind / !FileFind / !Help < prev    next >
Encoding:
Text File  |  1992-12-12  |  13.2 KB  |  254 lines

  1. »»»» !Help file for !FileFind 2.11
  2.  
  3. Written by Andrew J. Cawte - public domain version
  4.  
  5. This version of !FileFind is public domain - you can copy and distribute it
  6. freely, via any media, as long as:
  7.  
  8.  i) You do not sell this program for a profit, or include it on a disc for
  9.     which you are charging (a small charge to cover media and postage is OK).
  10.     I retain the exclusive copyright on this application.
  11.  
  12. ii) The application is supplied complete and unaltered, including this file.
  13.     
  14. =============================================================================
  15.  
  16. What is !FileFind?
  17. ------------------
  18.  
  19. !FileFind is a utility to search for files buried down many directory levels.
  20. Given some information about the file and somewhere to start looking, it will
  21. recurse throughout the directory tree, searching for files which fit the
  22. description. Such files can be listed, have directory viewers opened for them,
  23. or can be acted on by a '*' command.
  24.  
  25. Using !FileFind - setting up
  26. ---------------
  27.  
  28. Start !FileFind by double clicking - it will install an icon on the icon bar. 
  29. Clicking on this icon brings up a large dialogue box.
  30.  
  31. The top writeable icon is where the filename is entered - click on it, then
  32. type in the name to search for. Below this are two radio buttons labelled
  33. 'Exact' and 'Containing'. Click on 'Exact' if you want to match that name only
  34. (although searching is not case-sensitive), or 'Containing' if you want to find
  35. all files whose names contain the name given. For example, if you entered
  36. '!Run' as the name to search for, then 'Exact' would match the name !Run only,
  37. whereas 'Containing' would match !Run, !RunImage, Old!Run etc. If the filename
  38. is not important, don't type in a name, and select 'Containing'. All filenames
  39. will be matched.
  40.  
  41. To the right of the filename are two option buttons, 'Files' and 'Dirs/Apps'.
  42. These select what type of item is searched for - if 'Files' is on then files
  43. will be searched for, and if 'Dirs/Apps' is on then directories will be
  44. searched for also. If neither button is on (ie. neither directories nor
  45. files are being searched for) then nothing will be found (obviously!),
  46. although you may still start the search.
  47.  
  48. Below these options are two more radio buttons, 'Fast' and 'Background'.
  49. These allow you to choose the method of searching - if 'Fast' is selected,
  50. then nothing else can be done while !FileFind is searching for a file.
  51. Choosing 'Background' makes the search fully multi-tasking (ie. you may
  52. continue to use the machine while !FileFind is busy), but is not as fast.
  53. Background mode searching is highly recommended unless you need to quickly
  54. find something buried deep on a hard disc.
  55.  
  56. If 'Files' is on, then a further option is ungreyed. This is the 'specific
  57. filetype' option, and it allows the search to be restricted to files of a
  58. certain type only. If you know the file type number, then type it into the left
  59. hand icon and press <RETURN>. If you only know the textual filetype, then type
  60. it into the right hand icon and press <RETURN>. Clicking on the small right
  61. pointing arrow next to these icons brings up a menu of some of the available
  62. filetypes - these can be selected by clicking on them.
  63.  
  64. Below these is another group of icons, which allow files of a certain length
  65. to be searched for. If you want to search for files which are longer than a
  66. certain length, select 'Longer'. Similarly, to search for files which are
  67. shorter than a certain length, select 'Shorter'. To search for files which
  68. are approximately, or exactly, a certain length, select 'To within'.
  69.  
  70. Selecting any of these will ungrey the 'length' icons - type the length in
  71. here. Clicking on the small grey box cycles the units between bytes, kbytes
  72. and Mbytes.
  73.  
  74. If you selected 'To within', then another pair of icons becomes accessable.
  75. The writable icon on the left allows you to specify an allowable difference
  76. between the length you entered and those that will be matched. Clicking on
  77. the other icon cycles the units for the error in a similar way to the units
  78. for the general length to search for, but with the added unit 'percent'. If
  79. this unit is selected then the error is taken to be a percentage of the
  80. length.
  81.  
  82. For example, if the length is specified as 1000 bytes, and you entered the
  83. allowable error as being 25 percent, then any file with a length between 750
  84. and 1250 bytes would be matched (subject to name and filetype being correct,
  85. of course). Similarly, if you entered the error as being 250 bytes, the same
  86. limits would apply.
  87.  
  88. Below these are three more option buttons, 'Open viewer', 'List' and
  89. 'Command'. These determine what action will be taken when a file is found.
  90. If 'Open viewer' is on, then a Filer window will be opened for the directory
  91. containing the file. If 'List' is on, then the full pathname of the file
  92. will displayed on screen in a window when it is found (background mode) or
  93. stored and displayed in a window when the search is over (fast mode). If
  94. 'Command' is on, then the OS '*' command in the writeable icon below will be
  95. executed whenever a file is found. The system variable 'Item' is set to the
  96. full pathname of the file before the command is executed. This allows
  97. !FileFind to be used for more than just locating files. For example, you
  98. could lock all !RunImage files on the disc by typing '!RunImage' as the
  99. filename, turning 'Command' on and typing the command 'ACCESS <ITEM> LR'
  100. into the writeable icon in the middle of the window.
  101.  
  102. If 'List' is on, then a further facility becomes available when the search
  103. is finished. Clicking <MENU> over the list-of-files window brings up a menu
  104. option leading to a standard 'save' dialogue box, allowing you to save the
  105. list of files found as a text file. This file can be saved to disc or
  106. dragged straight into a !Edit window.
  107.  
  108. Under the 'Command' writeable icon are three more option buttons. 'Search in
  109. application directories' allows you to choose whether or not to look for
  110. files inside such directories - not searching them can save a lot of time!
  111. If 'Beep when item found' is on, then the computer will beep (VDU7)
  112. whenever a file is found. 'Search many floppies' allows you to do just that
  113. - each disc will be searched in turn, then you will be prompted to insert
  114. another. If using this method of searching, then the path window (see
  115. below) is not used - instead, use one of the radio buttons marked 'Drive'
  116. to choose which floppy disc drive to search. Icons for drives not fitted
  117. will be greyed out.
  118.  
  119. The path window is used to tell !FileFind where to start searching for a
  120. file. To specify a path to search, drag an object (a file or directory)
  121. from a Filer window into the path window. The pathname of that object will
  122. appear in the window. When the search is started, that path will be
  123. searched in recursively. Up to 20 paths may be searched in one go by
  124. dragging each to the path window in turn.
  125.  
  126. For example, suppose you want to look for a file, and you know that it's a
  127. text file of some kind. You might drag items from directories
  128. 'adfs::HardDisc4.$.TextFiles' and 'adfs::HardDisc4.$.1WP.Documents' to the
  129. path window, then start the search. You would, if you tend to keep files in
  130. their proper directories, have a good chance of finding the file by
  131. searching just these two paths, and it would be quicker than searching
  132. through the whole disc.
  133.  
  134. Clicking MENU over the path window brings up a menu with three options on it
  135. - 'Remove', 'Clear All' and 'Save >'. Choosing 'Remove' forgets the path
  136. that you clicked MENU over, 'Clear All' forgets all the paths, and 'Save'
  137. leads to a standard save dialogue box, which allows you to save a list of
  138. paths to disc for future reference - this may save you the bother of
  139. dragging items from each of 15 or 20 directories every time you want to
  140. search a specific part of your hard disc. For example, you may well save
  141. time by setting up !FileFind to search your whole hard disc except for your
  142. !Fonts directory, and then save the list of paths. To re-load a path list,
  143. just drag it into !FileFind's main window. The paths in the file will be
  144. added to those already there withot erasing them first. This does, of
  145. course, mean that if you drag a path file from a directory, that directory
  146. will not be added to the list of search paths, unless it was included in the
  147. file.
  148.  
  149. Note that unless you are searching many floppies, there must be at least one 
  150. path specified before you can start the search. To search a whole disc, drag 
  151. an object from its root directory ($) to the path window. Any subdirectories
  152. from the same disc will be removed from the path window, since they would be
  153. searched by recursing down anyway. The same applies to paths loaded from
  154. files.
  155.  
  156.  
  157. Starting the search
  158. -------------------
  159.  
  160. Having typed in a filename to search for, dragged one or more items to the
  161. path window, and set the other options you require, you are ready to begin
  162. the search. Click on 'Start Search' to do this. Another window will pop up,
  163. which is constantly updated to show you how !FileFind is progressing. If you
  164. selected 'Fast' searching, then individual filenames are not shown and all
  165. the buttons in the window will be greyed out. You must either wait until
  166. the search has finished or abort the search by pressing ESCAPE before you
  167. regain control of the computer. If, however, you selected 'Background'
  168. searching, there are a number of other facilities available to you - these
  169. are provided by three buttons on the status window.
  170.  
  171. Clicking on 'ABORT' finishes the search early. You might want to abort the
  172. search if you got the options wrong before starting the search, or if you
  173. see that the file you want has already been found.
  174.  
  175. Clicking 'Next Path' finishes the current path (or disc, in the case of a 
  176. multi-disc search) and starts on the next.
  177.  
  178. Clicking 'Pause' causes searching to temporarily halt. This enables you to,
  179. for example, load something from a floppy disc even though you are searching
  180. another disc in the same drive - just click 'Pause', wait for the drive to
  181. stop, change discs, load whatever you wanted to load, put the original disc
  182. back in the drive, then click 'Continue' to continue the search from where
  183. it left off. (Nb. the 'Pause' icon changes to a 'Continue' icon when
  184. clicked on and vice-versa).
  185.  
  186. If you are searching many floppies, then whenever a disc has been searched
  187. completely, a small window will pop up asking you for a new disc. It has two
  188. buttons in it - 'OK' and 'Finish'. Clicking OK resumes the search from the
  189. root directory of the disc currently in the drive (even if it has been seen
  190. before - it will simply be searched twice). Clicking 'Finish' ends the
  191. search. Note that even if searching in 'Fast' mode, you may use the
  192. computer while this window is open. !FileFind will take over again when you
  193. click OK.
  194.  
  195. =============================================================================
  196.  
  197. Don't forget to look out for my other PD software, currently:
  198.  
  199. !BackGrdII - a sticky backdrop program that doesn't crash all the time!
  200. (unlike one I could mention!) Supports multiple backdrop states for
  201. different purposes, multiple drags to the backdrop from Filer windows,
  202. replacing dull grey background with a sprite, works in any Mode, RISC OS 3
  203. compatible (inc. saving of Desktop state), multiple selections, status
  204. display and others too numerous to mention.
  205.  
  206. StickyConv - converts the saved state of the PD program !StickyBD into a
  207. backdrop file suitable for use with !BackGrd. A separate utility is
  208. included with !BackGrdII to convert this file to a !BackGrdII compatible
  209. format.
  210.  
  211. !WordSqure - solves wordsquare puzzles. Just type in the wordsquare (the
  212. boring bit), then just type in each word and the Arc will find it in just a
  213. couple of seconds! (I guarantee, unless the puzzle is VERY easy, it's still
  214. easier to type it into the Arc than solve it by hand. Wordsquares can be
  215. saved to disc for later use, if necessary).
  216.  
  217. !Pypes - a game of strategy and quick thinking. Try to contain the gunge
  218. that flows from an outlet on the tiled board by placing pipes on the grid
  219. for it to flow through. A mouse controlled version of the classic game. Now
  220. extra graphics and almost instantaneous response to the mouse add even more
  221. to this highly acclaimed PD game.
  222.  
  223. !SpaceBall - A good, old-fashioned 'knock the bricks out of the wall' game,
  224. brought right up to date for the Archimedes! Features include: Sampled sound
  225. effects (digitised by me especially for this game), scrolling messages,
  226. multiple (different!) walls, indestructible bricks, hard bricks, atmospheric
  227. graphics and double-buffered screens for perfect animation. (Well, I like
  228. it).
  229.  
  230. !GravWars - A multi-player space game. Up to 100 players can take part at
  231. once in this game of skill and strategy in space! Shoot blazing fireballs at
  232. the other players, and hope that they don't orbit round a planet and hit you
  233. in the back!
  234.  
  235. !IconClk3d - a digital clock that sits on the icon bar. It uses a
  236. custom-designed 3D font and looks superb.
  237.  
  238. !DuckHunt - you know !DeskDuck? Well, here's your chance to express your
  239. deepest feelings towards the duck by shooting it! (Features digitized stereo
  240. sound)
  241.  
  242. You should be able to get all of the above programs from the PD libraries.
  243. If not, send me a disc of PD and an SAE and I'll copy any of those programs
  244. you want onto it and send it back. (Sorry I can't be more helpful than that
  245. - I'm not a PD library and can't afford to send out discs for free!)
  246.  
  247. Send money, discs and so on to:
  248.  
  249.          Andrew Cawte,
  250.          64, Blenheim Gardens,
  251.          Denvilles,
  252.          Havant,
  253.          Hants.
  254.          PO9 2PW