home *** CD-ROM | disk | FTP | other *** search
/ PC Extra 07 & 08 / pca1507.iso / Software / psp8 / Data1.cab / Preset_Crop_Square.PspScript < prev    next >
Encoding:
Text File  |  2003-04-22  |  547 b   |  24 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 Preset_Crop():
  13.     return {
  14.         'CropRect': ((0,0),2250), 
  15.         'Mode': App.Constants.CropMode.CustomPrint, 
  16.         'Units': App.Constants.CropUnits.Inches, 
  17.         'PrintWidth': 7.5, 
  18.         'PrintHeight': 7.5
  19.         }
  20.  
  21. def Do(Environment):
  22.     App.Do( Environment, 'Crop',         Preset_Crop())
  23.  
  24.