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

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5. Lines=5
  6. 01=Oil Paint
  7. 02= 
  8. 03=This script loads each image of the File List Window
  9. 04=into ImageFX and creates an effect similar to that
  10. 05=of an oil painting.
  11.  
  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.     NumA = 1
  24.     NumB = 7
  25.     NumC = 3
  26.     RequestSlider '"Enter Size Of Brush To Use!"' NumA NumB NumC
  27.     Answer = Result
  28.     call open TempFile,"Ram:CT-IFOP",W
  29.     call writeln TempFile,Answer
  30.     call close TempFile
  31.     end
  32. else do
  33.     call open TempFile,"Ram:CT-IFOP",R
  34.     line = readln(TempFile)
  35.     parse var line Answer
  36.     call close TempFile
  37.     end
  38.  
  39. Hook OilPaint Answer
  40.  
  41. exit
  42.