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

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Do(Environment):
  13.     App.Do( Environment, 'NewFile', {
  14.             'Width': 200, 
  15.             'Height': 200, 
  16.             'ColorDepth': App.Constants.Colordepth.SixteenMillionColor, 
  17.             'DimensionUnits': App.Constants.DimensionType.Pixels, 
  18.             'ResolutionUnits': App.Constants.ResolutionUnits.PixelsPerIn, 
  19.             'Resolution': 200, 
  20.             'FillMaterial': {
  21.                 'Color': (0,0,255), 
  22.                 'Pattern': None, 
  23.                 'Gradient': None, 
  24.                 'Texture': None, 
  25.                 'Identity': r'Material'
  26.                 }, 
  27.             'Transparent': App.Constants.Boolean.true, 
  28.             'VectorBackground': App.Constants.Boolean.true, 
  29.             'GeneralSettings': {
  30.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  31.                 'AutoActionMode': App.Constants.AutoActionMode.Match
  32.                 }
  33.             }) 
  34.  
  35.  
  36.