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

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5. Lines=5
  6. 01=Polar Mosaic
  7. 02= 
  8. 03=This script loads each image of the File List Window
  9. 04=into ImageFX and distorts the image based on geometric
  10. 05=tiles in radial fashion around a center point which
  11. 06=creates a stained-glass type effect.
  12.  
  13.  
  14. */
  15.  
  16. options results
  17.  
  18. arg FrameNum TotalFiles
  19. address "IMAGEFX.1"
  20.  
  21. if FrameNum = 0 then do
  22.     Learn "Ram:CT-IFPM" NoHeader Quiet Force
  23.     Hook PolarMosaic
  24.     Learn Stop Quiet Force
  25.     end
  26. else do
  27.     if exists("Ram:CT-IFPM.ifx") then address command "Rename Ram:CT-IFPM.ifx to Ram:CT-IFPM"
  28.     call open TempFile,"Ram:CT-IFPM",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.     end
  37.  
  38. exit
  39.