from JascApp import *

def ScriptProperties():
    return {
        'Author': u'',
        'Copyright': u'',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_Crop():
    return {
        'CropRect': ((3,14), 387, 46), 
        'Mode': App.Constants.CropMode.Custom, 
        'Units': App.Constants.CropUnits.Pixels, 
        'SelectedArea': False, 
        'PrintWidth': -1, 
        'PrintHeight': -1
        }

def Do(Environment):
    # Crop
    App.Do( Environment, 'Crop',         Preset_Crop())

