home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Crystallize < prev    next >
Encoding:
Text File  |  1995-10-11  |  873 b   |  42 lines

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5.  
  6. Lines=6
  7. 01=Crystallize
  8. 02= 
  9. 03=Performs a geometric decomposition, similar to the
  10. 04=Mosaic and Polar Mosaic distortion effects.  In this
  11. 05=case, however, the distortion can be manipulated in a
  12. 06=planar dimension.
  13. */
  14. options results
  15.  
  16. arg FrameNum TotalFiles
  17. address "IMAGEFX.1"
  18.  
  19.  
  20. if FrameNum = 0 then do
  21.     FrameNum = 1
  22.     Learn "RAM:CT-IFCZ" NoHeader Quiet Force
  23.     Hook Crystallize
  24.     Learn Stop Quiet Force
  25.     end
  26. else do
  27.     if exists("RAM:CT-IFCZ.ifx") then address command "Rename Ram:CT-IFCZ.ifx to Ram:CT-IFCZ"
  28.     call open TempFile,"Ram:CT-IFCZ",R
  29.     do until eof(TempFile)
  30.         line = readln(TempFile)
  31.         parse var line Start" "RestOfLine
  32.         if Start = "Hook" then Answer = line
  33.         end
  34.     call close TempFile
  35.     Answer
  36.  
  37.     end
  38.  
  39.  
  40.  
  41. exit
  42.