home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Swatch_Red.PspScript < prev    next >
Encoding:
Text File  |  2003-04-22  |  520 b   |  24 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': ''
  8.         }
  9.  
  10. def Swatch_SetMaterial():
  11.     return {
  12.         'IsPrimary': App.Constants.Boolean.true, 
  13.         'NewMaterial': {
  14.             'Color': (255,0,0), 
  15.             'Pattern': None, 
  16.             'Gradient': None, 
  17.             'Texture': None
  18.             }
  19.         }
  20.  
  21. def Do(Environment):
  22.     App.Do(Environment,  'SetMaterial',         Swatch_SetMaterial())
  23.  
  24.