home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff321.lzh / IconJ / ReadIt < prev    next >
AmigaDOS Script File  |  1990-02-27  |  585b  |  19 lines

  1. .key myself/a,junk1,junk2,junk3  ; junks allow ignoring multiple selections
  2.  
  3. ; example of IconJ generic script
  4. ; the METOO switch of the PATHS= tool type must be set
  5.  
  6. if exists sys:utilities/more
  7.     sys:utilities/more <myself>  ; this is where Commodore puts it
  8.   else
  9.     if exists c:more
  10.         c:more <myself>          ; this is where lots of folks put it
  11.       else
  12.         if exists c:less
  13.             c:less <myself>      ; some people don't want more
  14.           else
  15.             c:type <myself>      ; and some people don't want less either
  16.           endif
  17.       endif
  18.   endif
  19.