home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Dream < prev    next >
Encoding:
Text File  |  1995-10-11  |  841 b   |  39 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=Dream
  8. 02= 
  9. 03=An image warping option for producing dreamlike special
  10. 04=effects. Anyone who knows old black and white Science
  11. 05=Fiction movies will recognize the Dream distortion effect.
  12. */
  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-IFD" NoHeader Quiet Force
  23.     Hook Dream
  24.     Learn Stop Quiet Force
  25.     end
  26. else do
  27.     if exists("RAM:CT-IFD.ifx") then address command "Rename Ram:CT-IFD.ifx to Ram:CT-IFD"
  28.     call open TempFile,"Ram:IFD",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.