home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Emboss_Image < prev    next >
Encoding:
Text File  |  1995-10-11  |  814 b   |  41 lines

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5.  
  6. Lines=5
  7. 01=Emboss Image
  8. 02= 
  9. 03=This takes an image and uses the
  10. 04=relief map hook to create an image
  11. 05=with an Embossed look.
  12.  
  13. */
  14.  
  15. options results
  16.  
  17. arg FrameNum TotalFiles
  18. address "IMAGEFX.1"
  19.  
  20.  
  21. if FrameNum = 0 then do
  22.     FrameNum = 1
  23.     Learn "Ram:CT-IFRM" NoHeader Quiet Force
  24.     ReliefMap
  25.     Learn Stop Quiet Force
  26.     end
  27. else do
  28.     LoadBuffer InPic Force Smooth
  29.     if exists("Ram:CT-IFRM.ifx") then address command "Rename Ram:CT-IFRM.ifx to Ram:CT-IFRM"
  30.     call open TempFile,"Ram:CT-IFRM",R
  31.     do until eof(TempFile)
  32.         line = readln(TempFile)
  33.         parse var line Start" "RestOfLine
  34.         if Start = "ReliefMap" then Answer = line
  35.         end
  36.     call close TempFile
  37.     Answer
  38.     end
  39.  
  40. exit
  41.