home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=4
- 01=Motion Blur
- 02=
- 03=This script loads each image of the File List Window into
- 04=ImageFX and simulates the blur produced by moving objects.
-
- */
-
- options results
-
- arg FrameNum TotalNum
- address "IMAGEFX.1"
-
- if FrameNum = 0 then do
- RequestSlider '"Enter Angle Of Motion Blur To Apply!"' "-180" "180" "0"
- if Result = "" then Result = 180
- if Result = 0 then Result = 1
- Angle = Result
- RequestSlider '"Enter Length Of Motion Blur In Pixels!"' 1 50 15
- if Result = "" then Result = 50
- if Result = 0 then Result = 1
- Length = Result
- call open TempFile,"Ram:CT-IFMB",W
- call writeln TempFile,Angle
- call writeln TempFile,Length
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFMB",R
- line = readln(TempFile)
- parse var line Angle
- line = readln(TempFile)
- parse var line Length
- call close TempFile
- end
-
- Motionblur Angle Length
-
- exit
-