home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Adjust_Yellow_In_Image < prev    next >
Encoding:
Text File  |  1995-10-11  |  754 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=Adjust Yellow In Image
  8. 02= 
  9. 03=This script will load an image into
  10. 04=Image FX and allow you to adjust the
  11. 05=YELLOW content of the image.
  12.  
  13. */
  14.  
  15. options results
  16.  
  17. arg Num TotalNum
  18. address "IMAGEFX.1"
  19.  
  20. if Num = 0 then do
  21.     NumA = -127
  22.     NumB = 127
  23.     NumC = 0
  24.  
  25.     RequestSlider '"Enter Amount To Adjust The Yellow Content Of Image!"' NumA NumB NumC
  26.     Answer = Result
  27.     call open TempFile,"Ram:CT-IFAY",W
  28.     call writeln TempFile,Answer
  29.     call close TempFile
  30.     end
  31. else do
  32.     call open TempFile,"Ram:CT-IFAY",R
  33.     line = readln(TempFile)
  34.     parse var line Answer
  35.     call close TempFile
  36.     end
  37.  
  38. Yellow Answer
  39.  
  40. exit
  41.