home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / agent10.lzh / examples / unpack_classes < prev    next >
Encoding:
Text File  |  1992-05-16  |  657 b   |  25 lines

  1. /*
  2.         This file describes some classes for Personal Agent
  3. */
  4.  
  5. This classes definition file let you unpack your archives simply by dropping
  6. the archive's icon on Personal Agent's one.
  7.  
  8.  
  9. CLASS LZH HAS NAME #?.lzh OR NAME #?.lha OR "-lh" AT 2 AND "-" AT 6 END
  10.  
  11. CLASS ZIP HAS NAME #?.zip OR "PK" AT 0 END
  12.  
  13. CLASS ZOO HAS NAME #?.zoo OR "ZOO" AT 0 AND "Archive" AT 9 END
  14.  
  15. CLASS ARC HAS NAME #?.arc END
  16.  
  17.  
  18. ACTION VIEW LZH IS lz -a -x x "%s" #? ram: END
  19. ACTION VIEW ZIP IS unzip "%s" END
  20. ACTION VIEW ZOO IS zoo x// "%s" END
  21. ACTION VIEW ARC IS arc x "%s" END
  22.  
  23.  
  24. ACTION VIEW DEFAULT IS echo "*N" Il file "*e[2m" '%s' "*e[0m" non Φ un'archivio in formato noto. END
  25.