
from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': 'Factory default preset for ColorAdjustHSL effect',
        'Host': 'Paint Shop Pro 8',
        'Host Version': '8.00',
        }

def Preset_ColorAdjustHSL():
    return {
        'GeneralSettings': {
            'AutoActionMode': 0,
            'ExecutionMode': 0
            },
        'HSL': {
            'Blue': (0, 0, 0, 195, 225, 255, 285),
            'Yellow': (0, 0, 0, 15, 45, 75, 105),
            'Green': (0, 0, 0, 75, 105, 135, 165),
            'MasterColorize': (0, 0, 0),
            'Cyan': (0, 0, 0, 135, 165, 195, 225),
            'Master': (0, 0, 0),
            'Magenta': (0, 0, 0, 255, 285, 315, 345),
            'Colorize': 0,
            'Red': (0, 0, 0, 315, 345, 15, 45)
            }
        }

def Do(Environment):
    App.Do( Environment, 'ColorAdjustHSL', Preset_ColorAdjustHSL())
