home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=5
- 01=Saturation
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and allows you to adjust the saturation
- 05=of the image based on user defined options.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- NumA = -127
- NumB = 127
- RequestSlider '"Enter Amount Of Saturation To Apply!"' NumA NumB 0
- Answer = Result
- call open TempFile,"Ram:CT-IFSAT",W
- call writeln TempFile,Answer
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFSAT",R
- line = readln(TempFile)
- parse var line Answer
- call close TempFile
- end
-
- Saturation Answer
-
- exit
-