home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Wave_Image < prev   
Encoding:
Text File  |  1995-10-17  |  829 b   |  41 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=Wave Image
  8. 02= 
  9. 03=This script loads each image of the File List Window
  10. 04=into ImageFX and uses the wave Distort Hook to create
  11. 05=ripple type effects on images.
  12.  
  13. */
  14.  
  15. options results
  16.  
  17. arg FrameNum TotalFiles
  18. address "IMAGEFX.1"
  19.  
  20.  
  21. if FrameNum = 0 then do
  22.     FrameNum = 1
  23.     Learn "RAM:CT-IFWAI" NoHeader Quiet Force
  24.     Hook Wave
  25.     Learn Stop Quiet Force
  26.     end
  27. else do
  28.     if exists("RAM:CT-IFWAI.ifx") then address command "Rename Ram:CT-IFWAI.ifx to Ram:CT-IFWAI"
  29.     call open TempFile,"Ram:CT-IFWAI",R
  30.     do until eof(TempFile)
  31.         line = readln(TempFile)
  32.         parse var line Start" "RestOfLine
  33.         if Start = "Hook" then Answer = line
  34.         end
  35.     call close TempFile
  36.     Answer
  37.     end
  38.  
  39.  
  40. exit
  41.