home *** CD-ROM | disk | FTP | other *** search
/ Corel Draw 7 / CD7_PROGRAM.ISO / draw / scripts / presets6 / rainbow.csc < prev    next >
Encoding:
Text File  |  1996-10-24  |  1.4 KB  |  37 lines

  1. REM Rainbow fill, extruded
  2. REM REM Converted from a DRAW PRESET binary to a DRAW RECORDING script
  3.  
  4. WITHOBJECT "CorelDraw.Automation.7"
  5.     .StartOfRecording 
  6.     .SuppressPainting 
  7.     .RecorderStorePreselectedObjects TRUE
  8.     .RecorderSelectObjectByIndex TRUE, 1
  9.     .DuplicateObject 0, 0
  10.     .RecorderSelectObjectByIndex TRUE, 2
  11.     .OrderToBack 
  12.     .RecorderSelectObjectByIndex TRUE, 2
  13.     .ApplyExtrude 0, 0, 0, 5, 253, 253, FALSE, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
  14.     .RecorderSelectObjectsByIndex TRUE, 3, 2, -1, -1, -1
  15.     .ApplyFountainFill 0, 0, 0, 900, 256, 0, 0, 50
  16.     .SetFountainFillColor 0, 2, 40, 40, 0, 20
  17.     .SetFountainFillColor 100, 2, 0, 0, 0, 0
  18.     .RecorderSelectObjectByIndex TRUE, 1
  19.     .ApplyFountainFill 1, 0, -50, 900, 256, 0, 3, 50
  20.     .SetFountainFillColor 0, 2, 100, 20, 0, 0
  21.     .SetFountainFillColor 14, 2, 100, 20, 0, 0
  22.     .SetFountainFillColor 20, 2, 20, 80, 0, 20
  23.     .SetFountainFillColor 30, 2, 40, 60, 0, 0
  24.     .SetFountainFillColor 40, 2, 100, 100, 0, 0
  25.     .SetFountainFillColor 50, 2, 100, 0, 100, 0
  26.     .SetFountainFillColor 60, 2, 0, 0, 100, 0
  27.     .SetFountainFillColor 70, 2, 0, 60, 100, 0
  28.     .SetFountainFillColor 80, 2, 0, 100, 100, 0
  29.     .SetFountainFillColor 85, 2, 100, 20, 0, 0
  30.     .SetFountainFillColor 100, 2, 100, 20, 0, 0
  31.     .RecorderSelectPreselectedObjects TRUE
  32.     .RecorderSelectObjectsByIndex FALSE, 3, 2, -1, -1, -1
  33.     .Group 
  34.     .ResumePainting 
  35.     .EndOfRecording 
  36. END WITHOBJECT
  37.