home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Straw < prev    next >
Encoding:
Text File  |  1995-10-17  |  898 b   |  44 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=Straw
  8. 02= 
  9. 03=This script loads each image of the File List Window
  10. 04=into ImageFX and applies the Straw Hook. This looks
  11. 05=like strands of straw have been thrown on the image.
  12. 06=This effect works well for images being used as a
  13. 07=background for text screens or keyed video.
  14.  
  15. */
  16.  
  17. options results
  18.  
  19. arg FrameNum TotalFiles
  20. address "IMAGEFX.1"
  21.  
  22.  
  23. if FrameNum = 0 then do
  24.     FrameNum = 1
  25.     NumA = 2
  26.     NumB = 50
  27.     NumC = 30
  28.     RequestSlider '"Enter Straw Line Size To Use!"' NumA NumB NumC
  29.     Answer = Result
  30.     call open TempFile,"Ram:CT-IFMZ",W
  31.     call writeln TempFile,Answer
  32.     call close TempFile
  33.     end
  34. else do
  35.     call open TempFile,"Ram:CT-IFMZ",R
  36.     line = readln(TempFile)
  37.     parse var line Answer
  38.     call close TempFile
  39.     end
  40.  
  41. Hook Straw Answer
  42.  
  43. exit
  44.