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

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5.  
  6. Lines=7
  7. 01=Polar Blur
  8. 02= 
  9. 03=This script loads each image of the File List Window
  10. 04=into ImageFX and distorts the image based on the
  11. 05=angular displacement of pixels around a center point
  12. 06=and repeats each pixel at every point along the angle
  13. 07=giving you a circular type blur.
  14.  
  15.  
  16. */
  17.  
  18. options results
  19.  
  20. arg FrameNum TotalFiles
  21. address "IMAGEFX.1"
  22.  
  23. if FrameNum = 0 then do
  24.     Learn "Ram:CT-IFPB" NoHeader Quiet Force
  25.     Hook PolarBlur
  26.     Learn Stop Quiet Force
  27.     end
  28. else do
  29.     if exists("Ram:CT-IFPB.ifx") then address command "Rename Ram:CT-IFPB.ifx to Ram:CT-IFPB"
  30.     call open TempFile,"Ram:CT-IFPB",R
  31.     do until eof(TempFile)
  32.         line = readln(TempFile)
  33.         parse var line Start" "RestOfLine
  34.         if Start = "Hook" then Answer = line
  35.         end
  36.     call close TempFile
  37.     Answer
  38.     end
  39.  
  40. exit
  41.