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

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5. Lines=5
  6. 01=Adjust Image Hue
  7. 02= 
  8. 03=This script will load an image into
  9. 04=Image FX and allow you to adjust the
  10. 05=HUE of the image up or down.
  11.  
  12. */
  13.  
  14. options results
  15.  
  16. arg Num TotalNum
  17. address "IMAGEFX.1"
  18.  
  19. if Num = 0 then do
  20.     NumA = -127
  21.     NumB = 127
  22.     NumC = 0
  23.     RequestSlider '"Enter Amount To Adjust The Hue In Image!"' NumA NumB NumC
  24.     Answer = Result
  25.     call open TempFile,"Ram:CT-IFAH",W
  26.     call writeln TempFile,Answer
  27.     call close TempFile
  28.     end
  29. else do
  30.     call open TempFile,"Ram:CT-IFAH",R
  31.     line = readln(TempFile)
  32.     parse var line Answer
  33.     call close TempFile
  34.     end
  35.  
  36. Hue Answer
  37.  
  38. exit
  39.