home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Converter / IMAFX26.lha / imagefx2 / rexx / autofx / Channel.ifx.pre < prev    next >
Encoding:
Text File  |  1994-07-30  |  475 b   |  25 lines

  1. /*
  2.  *    Channel.ifx.pre
  3.  *    Channel selection pre-script.
  4.  *
  5.  *    by Steve Tibbett
  6.  */
  7.  
  8. options results
  9.  
  10. Defaults=GetClip("ImpChannelParameters"arg(1));
  11. if (Defaults="") then Defaults="1 1 1"
  12.  
  13. Parse Var Defaults R G Bl
  14.  
  15. Gadget.1 = 'X/40/23/Red?/'R
  16. Gadget.2 = 'X/40/35/Green?/'G
  17. Gadget.3 = 'X/40/47/Blue?/'Bl
  18.  
  19. ComplexRequest '"Channel Selection"' 3 Gadget 250 87
  20. IF rc ~= 0 THEN return 10
  21.  
  22. Defaults=Result.1 Result.2 Result.3
  23. call SetClip("ImpChannelParameters"arg(1), Defaults);
  24.  
  25.