home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / datatypes / akmuiprefs / install < prev    next >
Encoding:
Text File  |  1998-02-09  |  1.8 KB  |  129 lines

  1. ;$VER:akMUIPrefs Install 43.0
  2.  
  3. (set #gif 0)
  4. (set #jfif 1)
  5. (set #ljpg 2)
  6. (set #png 3)
  7. (set #svg 4)
  8. (set #new 1)
  9.  
  10. (set #prefs-dir
  11.     (askdir
  12.         (prompt "Where do you store your preferences for datatypes ?")
  13.         (help @askdir-help)
  14.         (default "SYS:Prefs/DataTypes")
  15.     )
  16. )
  17. (set #choice
  18.     (askoptions
  19.         (prompt "What akMUIPrefs do you like to install ?")
  20.         (help @askoptions-help)
  21.         (choices "GIF" "JFIF" "LJPG" "PNG" "SVG")
  22.     )
  23. )
  24. (set #icon
  25.     (askchoice
  26.         (prompt "What type of icons do you want to use ?")
  27.         (help @askchoice-help)
  28.         (choices "MWB style (8 colors)" "NewIcons style")
  29.     )
  30. )
  31.  
  32. (if (IN #choice #gif)
  33.     (
  34.     (copyfiles
  35.         (source "Prefs/akGIFPrefs")
  36.         (dest #prefs-dir)
  37.         (infos)
  38.     )
  39.     )
  40. )
  41. (if (IN #choice #jfif)
  42.     (
  43.     (copyfiles
  44.         (source "Prefs/akJFIFPrefs")
  45.         (dest #prefs-dir)
  46.         (infos)
  47.     )
  48.     )
  49. )
  50. (if (IN #choice #ljpg)
  51.     (
  52.     (copyfiles
  53.         (source "Prefs/akLJPGPrefs")
  54.         (dest #prefs-dir)
  55.         (infos)
  56.     )
  57.     )
  58. )
  59. (if (IN #choice #png)
  60.     (
  61.     (copyfiles
  62.         (source "Prefs/akPNGPrefs")
  63.         (dest #prefs-dir)
  64.         (infos)
  65.     )
  66.     )
  67. )
  68. (if (IN #choice #svg)
  69.     (
  70.     (copyfiles
  71.         (source "Prefs/akSVGPrefs")
  72.         (dest #prefs-dir)
  73.         (infos)
  74.     )
  75.     )
  76. )
  77. (if (= #icon #new)
  78.     (
  79.     (if (IN #choice #gif)
  80.         (
  81.         (copyfiles
  82.             (source "NewIcons/Tool.info")
  83.             (dest #prefs-dir)
  84.             (newname "akGIFPrefs.info")
  85.         )
  86.         )
  87.     )
  88.     (if (IN #choice #jfif)
  89.         (
  90.         (copyfiles
  91.             (source "NewIcons/Tool.info")
  92.             (dest #prefs-dir)
  93.             (newname "akJFIFPrefs.info")
  94.         )
  95.         )
  96.     )
  97.     (if (IN #choice #ljpg)
  98.         (
  99.         (copyfiles
  100.             (source "NewIcons/Tool.info")
  101.             (dest #prefs-dir)
  102.             (newname "akLJPGPrefs.info")
  103.         )
  104.         )
  105.     )
  106.     (if (IN #choice #png)
  107.         (
  108.         (copyfiles
  109.             (source "NewIcons/Tool.info")
  110.             (dest #prefs-dir)
  111.             (newname "akPNGPrefs.info")
  112.         )
  113.         )
  114.     )
  115.     (if (IN #choice #svg)
  116.         (
  117.         (copyfiles
  118.             (source "NewIcons/Tool.info")
  119.             (dest #prefs-dir)
  120.             (newname "akSVGPrefs.info")
  121.         )
  122.         )
  123.     )
  124.     )
  125. )
  126.  
  127. (set @default-dest #prefs-dir)
  128.  
  129.