from PSPApp import *

def ScriptProperties():
    return {
        'Author': u'',
        'Copyright': u'',
        'Description': u'',
        'Host': u'PaintShop Pro',
        'Host Version': u'24.00'
        }

def Do(Environment):
    # EnableOptimizedScriptUndo
    App.Do( Environment, 'EnableOptimizedScriptUndo', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 1, 
            'Left': 1, 
            'Right': 1, 
            'Symmetric': True, 
            'Top': 1, 
            'Color': (3,5,2), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 2, 
            'Left': 2, 
            'Right': 2, 
            'Symmetric': True, 
            'Top': 2, 
            'Color': (255,255,255), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 1, 
            'Left': 1, 
            'Right': 1, 
            'Symmetric': True, 
            'Top': 1, 
            'Color': (98,5,13), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 12, 
            'Left': 12, 
            'Right': 12, 
            'Symmetric': True, 
            'Top': 12, 
            'Color': (255,255,255), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 5, 
            'Left': 5, 
            'Right': 5, 
            'Symmetric': True, 
            'Top': 5, 
            'Color': (98,5,13), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 2, 
            'Left': 2, 
            'Right': 2, 
            'Symmetric': True, 
            'Top': 2, 
            'Color': (255,255,255), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 1, 
            'Left': 1, 
            'Right': 1, 
            'Symmetric': True, 
            'Top': 1, 
            'Color': (98,5,13), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

    # AddBorders
    App.Do( Environment, 'AddBorders', {
            'Bottom': 25, 
            'Left': 25, 
            'Right': 25, 
            'Symmetric': True, 
            'Top': 25, 
            'Color': (255,255,255), 
            'DimUnits': App.Constants.UnitsOfMeasure.Pixels, 
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default, 
                'AutoActionMode': App.Constants.AutoActionMode.Match, 
                'Version': ((24,0,0),1)
                }
            })

