home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=4
- 01=Roughen Image
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and alters the color level of the image.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- RequestSlider '"Enter Amount Of Roughening To Apply!"' 1 255 25
- if Result = "" then Result = 255
- if Result = 0 then Result = 1
- Answer = Result
- call open TempFile,"Ram:CT-IFROU",W
- call writeln TempFile,Answer
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFROU",R
- line = readln(TempFile)
- parse var line Answer
- call close TempFile
- end
-
- Roughen Answer
-
- exit
-