home *** CD-ROM | disk | FTP | other *** search
- /*
- Control Tower Arexx Script
- Written By J.L. White
- (C)1995 Merlin's Software
-
- Lines=5
- 01=Emboss Image
- 02=
- 03=This takes an image and uses the
- 04=relief map hook to create an image
- 05=with an Embossed look.
-
- */
-
- options results
-
- arg FrameNum TotalFiles
- address "IMAGEFX.1"
-
-
- if FrameNum = 0 then do
- FrameNum = 1
- Learn "Ram:CT-IFRM" NoHeader Quiet Force
- ReliefMap
- Learn Stop Quiet Force
- end
- else do
- LoadBuffer InPic Force Smooth
- if exists("Ram:CT-IFRM.ifx") then address command "Rename Ram:CT-IFRM.ifx to Ram:CT-IFRM"
- call open TempFile,"Ram:CT-IFRM",R
- do until eof(TempFile)
- line = readln(TempFile)
- parse var line Start" "RestOfLine
- if Start = "ReliefMap" then Answer = line
- end
- call close TempFile
- Answer
- end
-
- exit
-