home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
- Lines=7
- 01=Gradually Apply Motion Blur
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and Gradually apply Motion Blur 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 FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- RequestSlider '"Enter Angle Of Motion Blur To Apply!"' "-180" "180" "0"
- if Result = "" then Result = 180
- if Result = 0 then Result = 1
- Angle = Result
- call open TempFile,"Ram:CT-IFMB",W
- call writeln TempFile,Angle
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFMB",R
- line = readln(TempFile)
- parse var line Angle
- call close TempFile
- end
-
- Num = ((FrameNum*50)/TotalFiles)%1
- Num = trunc(Num)
- if FrameNum > 1 then Motionblur Angle Num
-
-
- exit
-