from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_Texture():
    return {
        'Ambience': 0, 
        'Angle': 243, 
        'Color': (255,255,255), 
        'Depth': 1, 
        'Elevation': 31, 
        'Intensity': 50, 
        'Shininess': 0, 
        'Size': 400, 
        'Smoothness': 40, 
        'TextureName': u'Squares', 
        'Category': u'All', 
        'GeneralSettings': {
            'ExecutionMode': App.Constants.ExecutionMode.Default, 
            'DialogPlacement': {
                'ShowMaximized': False, 
                'Rect': ((0,0), 0, 0)
                }, 
            'PreviewVisible': True, 
            'AutoProof': False, 
            'AutoActionMode': App.Constants.AutoActionMode.Match
            }
        }

def Do(Environment):
    # Texture
    App.Do( Environment, 'Texture',         Preset_Texture())

