home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Gradually_Blur_Images < prev    next >
Encoding:
Text File  |  1995-10-16  |  879 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=Gradually Blur Images
  8. 02= 
  9. 03=This script loads each image of the File List Window
  10. 04=into ImageFX and Gradually blur each of the images over
  11. 05=the length of frames. It divides the total number of
  12. 06=frames by the current frame number * the highest value
  13. 07=of this function to gradually adjust the list.
  14.  
  15. */
  16.  
  17. options results
  18.  
  19. arg Num TotalNum
  20. address "IMAGEFX.1"
  21.  
  22.  
  23. if Num = 0 then do
  24.     Num = 1
  25.     RequestSlider '"Enter Blur Intensity:!"' 1 16 8
  26.     Answer = Result
  27.     call open TempFile,"Ram:CT-IFBI",W
  28.     call writeln TempFile,Answer
  29.     call close TempFile
  30.     end
  31. else do
  32.     call open TempFile,"Ram:CT-IFBI",R
  33.     line = readln(TempFile)
  34.     parse var line Answer
  35.     call close TempFile
  36.     end
  37.  
  38. do i = 1 to Num
  39.     Blur Answer
  40.     end
  41.  
  42.  
  43. exit
  44.