from PSPApp import *

def ScriptProperties():
    return {
        'Author': u'ExkizzEskiss',
        'Copyright': u'2012',
        'Description': u'Bordures - Aisha 2012',
        'Host': u'Paint Shop Pro Photo',
        'Host Version': u'12.00'
        }




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

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

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

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

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

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

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

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

