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 Emboss Image
- 02=
- 03=This script loads each image of the File List Window
- 04=into ImageFX and Gradually emboss each image 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
- NumA = 0
- NumB = 7
- NumC = 0
- RequestSlider '"Enter Light Position (1 = 12:00 5 = 6:00)!"' NumA NumB NumC
- call open TempFile,"Ram:CT-IFGE",W
- call writeln TempFile,Answer
- call close TempFile
- end
- else do
- call open TempFile,"Ram:CT-IFGE",R
- line = readln(TempFile)
- parse var line Answer
- call close TempFile
- end
- Num = ((FrameNum * 256)/(TotalFiles))
- Num = trunc(Num)
-
- ReliefMap Num Answer
-
- exit
-