home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
- Lines=7
- 01=Gradual Wave Distort
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and uses Wave Distort gradually over
- 05=the length of frames. It divides the total number of
- 06=frames by the current frame number * the highest value
- 07=of this function to gradually adjust the list.
-
- */
-
- options results
-
- arg Num TotalNum
- address "IMAGEFX.1"
-
- if Num = 0 then Num = 1
- AlphaChannel Off
- GetMain
- PARSE VAR result '"'FileName'"' Width Height Depth Fluff
- NewNum = ((Num * 360)/(TotalNum))
- NewNum = trunc(NewNum)
- CreateAlpha Waves 25 Width/2 Height/2 NewNum 25
- Distort 30
- AlphaChannel Off
-
- exit
-