home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v4 / dopbt2 / 2 / show&hide.rexx / show&hide.txt < prev   
Text File  |  1996-06-13  |  4KB  |  83 lines

  1. ##
  2. ## $VER: OPUS.SHOW & HIDE txt 1.0
  3. ##
  4.  
  5.  
  6.  
  7. Jip, tricks time in DOPUS again...
  8.  
  9. This time using 2 litle arexx scripts, one of which I found in an antique
  10. package, and the other one I adapted myself...
  11.  
  12. First of all, since it seems that everybody is writing scripts for DOPUS
  13. nowadays, a word of advice: Make a special directory for your OPUS-scripts.
  14. Easiest would be in DOPUS:modules/arexx. That way your REXXC: dir will not
  15. be filled with things of which you have no idea what they are doing there...
  16.  
  17. Well, what is this all about ??
  18.  
  19. This script will enable you to ONLY show files matching a pattern given by
  20. you in the given DOPUS window. What ? I hear you scream... Don't worry, I
  21. will explain !
  22.  
  23. As you might have seen, there is a button 's' in the middle of your DOPUS
  24. screen. When you press it, you wil see "Enter select pattern", if you now 
  25. enter a select pattern (for example *.info), all the files ending with
  26. .info (the icons !) will be highlighted. 
  27.  
  28. If you install this tiny arexx script, the selected files (ex. -> .info 
  29. files) will NOT be highlighted, no they will be the ONLY files in the 
  30. window !!!
  31.  
  32. Try the above example, and you will understand the meaning I hope ;-)
  33.  
  34. Start the config-editor ( <-;), select a button of your choice, preferably
  35. with NO right mouse action, and edit the following:
  36.  
  37. ---------------------------------------
  38.  
  39. ARexx       dopus:modules/rexx/Onlyshow.rexx
  40.  
  41. No flags, no nothing
  42.  
  43. ---------------------------------------
  44.  
  45. this is assuming you have copied the suplied script to dopus:modules/rexx,
  46. otherwise please change the path...
  47.  
  48. ---------------------------------------
  49.  
  50. Now, try it... See the magic ?
  51.  
  52. DO NOT BE ALARMED IF YOU SEE FILES DISAPPEARING BEFORE YOU !!! THEY ARE
  53. NOT GONE, JUST HIDDEN...!!!!
  54.  
  55. The other script (Onlyhide.rexx) will do EXACTLY the oppposite, in other
  56. words it will HIDE the files corrosponding to the select pattern. If
  57. you choose *.info as select pattern, you will see all files, EXEPT the ones 
  58. ending in .info ! A good advise would be to put the second script under the 
  59. right mouse-button button off onlyshow ! 
  60.                       
  61. Let me know what you think, and if you use it (and why not...?).
  62.  
  63.  
  64.        ·······························································
  65.        .#.####..............................................####.#..#.
  66.        ##.#..#........._______....______......_______.......#..#.#..#.
  67.        .#.####......../      /....|     \.....\      .......####.####.
  68.        .#....#......./______/.....|______|.....\      .........#....#.
  69.        .#.####....../      /......|      |......\      .....####....#.
  70.        ............/....../.......|_____/........\_______.............
  71.        ...............................................................
  72.        .............ABC, THE CUTEST LAMER IN THE BUSINESS.............
  73.        .                                                             .
  74.        .                   Niels van \X/illigenburg                  .
  75.        .______                 Millingenhof 123                ______.
  76.        /      \             NL-1106 KH   AMSTERDAM            /      \
  77.        | O  O |                  Netherlands                  | O  O |
  78.        |  /\  |                    Europe                     |  /\  |
  79.        | \__/ |               +31 (0)20-6979932               | \__/ |
  80.        .\____/               FIDO -> 2:280/464.17              \____/.
  81.        .                          -> niels@aobh.xs4all.nl            .
  82.        ·······························································
  83.