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

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5.  
  6. Lines=5
  7. 01=Lens Flare
  8. 02= 
  9. 03=This script loads each image of the File List Window
  10. 04=into ImageFX and simulate the refractive artifacts of
  11. 05=camera optics best know as lens flares.
  12.  
  13. */
  14.  
  15. options results
  16.  
  17. arg FrameNum TotalNum
  18. address "IMAGEFX.1"
  19.  
  20. if FrameNum = 0 then do
  21.     Learn "Ram:CT-IFLF" NoHeader Quiet Force
  22.     Hook LensFlare
  23.     Learn Stop Quiet Force
  24.     end
  25. else do
  26.     if exists("Ram:CT-IFLF.ifx") then address command "Rename Ram:CT-IFLF.ifx to Ram:CT-IFLF"
  27.     call open TempFile,"Ram:CT-IFLF",R
  28.     do until eof(TempFile)
  29.         line = readln(TempFile)
  30.         parse var line Start" "RestOfLine
  31.         if Start = "Hook" then Answer = line
  32.         end
  33.     call close TempFile
  34.     Answer
  35.     end
  36.  
  37. exit
  38.