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_ColorAdjustHSL():
    return {
        'HSL': {
            'Colorize': False, 
            'Master': (0,0,0), 
            'MasterColorize': (0,0,0), 
            'Red': (0,0,0,315,345,15,45), 
            'Green': (0,0,0,75,105,135,165), 
            'Blue': (130,70,0,195,225,255,285), 
            'Cyan': (0,0,0,135,165,195,225), 
            'Magenta': (0,0,0,255,285,315,345), 
            'Yellow': (0,0,0,15,45,75,105)
            }, 
        'GeneralSettings': {
            'ExecutionMode': App.Constants.ExecutionMode.Default, 
            'DialogPlacement': {
                'ShowMaximized': False, 
                'Rect': ((1317,476), 344, 542)
                }, 
            'PreviewVisible': True, 
            'AutoProof': False, 
            'AutoActionMode': App.Constants.AutoActionMode.Match
            }
        }

def Do(Environment):
    # Color Adjust HSL
    App.Do( Environment, 'ColorAdjustHSL',         Preset_ColorAdjustHSL())

