home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=6
- 01=Sharpen Image
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and allows you to sharpen the image. A
- 05=higer sharpening can cause unwanted noise to disturb
- 06=the image.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- RequestSlider '"Enter Amount Of Sharpening To Apply!"' 1 255 150
- if Result = "" then Result = 255
- if Result = 0 then Result = 1
- SharpenNum = Result
- call open TempFile,"Ram:CT-IFSHP",W
- call writeln TempFile,SharpenNum
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFSHP",R
- line = readln(TempFile)
- parse var line SharpenNum
- call close TempFile
- end
-
- Sharpen SharpenNum
-
- exit
-