from JascApp import * def ScriptProperties(): return { 'Author': 'Christa', 'Copyright': '', 'Description': 'Sandollar signature. Once completed, use mover tool to place name & tubes where you want them. After placement, merge visable and save as gif. If you want to animate, duplicate layer twice & then with sparkle tube, place sparkles on the letters on each layer. Save as a .psp file & open file in animation shop & then save as gif. ', 'Host': 'Paint Shop Pro', 'Host Version': '8.10' } def Do(Environment): # New File App.Do( Environment, 'NewFile', { 'Width': 500, 'Height': 500, 'ColorDepth': App.Constants.Colordepth.SixteenMillionColor, 'DimensionUnits': App.Constants.DimensionType.Pixels, 'ResolutionUnits': App.Constants.ResolutionUnits.PixelsPerCM, 'Resolution': 200, 'FillMaterial': { 'Color': (255,255,255), 'Pattern': None, 'Gradient': None, 'Texture': None, 'Identity': u'Material' }, 'Transparent': App.Constants.Boolean.true, 'VectorBackground': App.Constants.Boolean.false, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectDocument App.Do( Environment, 'SelectDocument', { 'SelectedImage': 0, 'Strict': App.Constants.Boolean.false, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # PictureTube App.Do( Environment, 'PictureTube', { 'Placement': App.Constants.PlacementMode.Random, 'Scale': 100, 'SelectionMode': App.Constants.PictureTubeSelectionMode.Random, 'Step': 200, 'TubeName': u'sandollar', 'CellsAcross': 1, 'CellsDown': 1, 'CellsTotal': 1, 'CellIndex': 0, 'Stroke': [ (App.Constants.PathEntryInterpretation.Absolute,(242.5,236.5),0) ], 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'RandomSeed': 68277686, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # LayerDuplicate App.Do( Environment, 'LayerDuplicate', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # LayerDuplicate App.Do( Environment, 'LayerDuplicate', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectLayer App.Do( Environment, 'SelectLayer', { 'Path': (0,-1,[],App.Constants.Boolean.false), 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Magic Wand App.Do( Environment, 'MagicWand', { 'General': { 'Mode': App.Constants.SelectionOperation.Replace, 'Antialias': App.Constants.Boolean.false, 'Feather': 0, 'SampleMerged': App.Constants.Boolean.false }, 'MatchMode': App.Constants.MatchMode.RGBValue, 'Point': (437.5,308.5), 'Tolerance': 20, 'AntialiasType': App.Constants.AntialiasType.Outside, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectInvert App.Do( Environment, 'SelectInvert', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # MoveSelection App.Do( Environment, 'MoveSelection', { 'Offset': (0,0), 'ClearSource': App.Constants.Boolean.true, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Contract Selection App.Do( Environment, 'SelectContract', { 'ContractAmount': 1, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # FileOpen App.Do( Environment, 'FileOpen', { 'FileList': [u'C:\\Documents and Settings\\Windows User\\My '\ u'Documents\\My Pictures\\HM\\icP348-Point%20East.jpg'], 'Folder': u'C:\\Documents and Settings\\Windows User\\My Doc'\ u'uments\\My Pictures\\HM', 'FileFormat': App.Constants.FileFormat.Unknown, 'PluginFormat': 0, 'ShowPreview': App.Constants.Boolean.true, 'EnableBrowser': App.Constants.Boolean.true, 'FavFileList': [], 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectDocument App.Do( Environment, 'SelectDocument', { 'SelectedImage': 0, 'Strict': App.Constants.Boolean.false, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Copy App.Do( Environment, 'Copy', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectDocument App.Do( Environment, 'SelectDocument', { 'SelectedImage': -1, 'Strict': App.Constants.Boolean.false, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # PasteIntoSelection App.Do( Environment, 'PasteIntoSelection', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectLayer App.Do( Environment, 'SelectLayer', { 'Path': (0,1,[],App.Constants.Boolean.false), 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 98, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 94, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 90, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 88, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 86, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 84, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 82, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 80, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 78, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 76, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 74, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 72, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 70, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 68, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 66, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 64, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Layer Properties App.Do( Environment, 'LayerProperties', { 'General': { 'Opacity': 62, 'Name': None, 'IsVisible': None, 'IsTransparencyLocked': None, 'LinkSet': None, 'UseHighlight': None, 'PaletteHighlightColor': None, 'GroupLink': None, 'BlendMode': None }, 'BlendRanges': None, 'Path': (0,0,[],App.Constants.Boolean.false), 'BrightnessContrast': None, 'ChannelMixer': None, 'ColorBalance': None, 'CurveParams': None, 'HSL': None, 'Threshold': None, 'Levels': None, 'Posterize': None, 'Overlay': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # SelectNone App.Do( Environment, 'SelectNone', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # LayerMergeVisible App.Do( Environment, 'LayerMergeVisible', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Drop Shadow App.Do( Environment, 'DropShadow', { 'Blur': 5, 'Color': (0,0,0), 'Horizontal': 3, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 25, 'Vertical': 3, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Get Text Font Result = App.Do( Environment, 'GetString', { 'DefaultText': 'Arial', 'DialogTitle': 'Get Font Name', 'Prompt': 'Enter the name of the Font you wish to use:', 'MaxLength': 25, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, } }) # Stop the script if the user chose "Cancel" if Result['OKButton'] == 0: return Font = Result[ 'EnteredText' ] # Get Text Result = App.Do( Environment, 'GetString', { 'DefaultText': 'Welcome', 'DialogTitle': 'Get Text', 'Prompt': 'Enter the text you wish to use:', 'MaxLength': 25, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, } }) # Stop the script if the user chose "Cancel" if Result['OKButton'] == 0: return Text = Result[ 'EnteredText' ] # Get font size Result = App.Do( Environment, 'GetNumber', { 'DefaultValue': 18, 'MinValue': 6, 'MaxValue': 100, 'DialogTitle': 'Get Font Size', 'Prompt': 'Enter the Font Size:', 'MaxLength': 25, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, } }) # Stop the script if the user chose "Cancel" if Result['OKButton'] == 0: return FontSize = Result[ 'EnteredNumber' ] # Text App.Do( Environment, 'Text', { 'CreateAs': App.Constants.CreateAs.Vector, 'Segments': [{ 'WarpText': App.Constants.Boolean.false, 'AutoKern': App.Constants.Boolean.false, 'Bold': App.Constants.Boolean.true, 'Fill': { 'Color': (255,255,255), 'Pattern': None, 'Gradient': None, 'Texture': None, 'Identity': u'Material' }, 'Font': Font, 'LineStyle': { 'Name': u'', 'FirstCap': (u'Butt',7.21,7.21), 'LastCap': (u'Butt',1,1), 'FirstSegCap': (u'',0.25), 'LastSegCap': (u'',0.25), 'UseSegmentCaps': App.Constants.Boolean.false, 'Segments': [] }, 'LineWidth': 1, 'PointSize': FontSize, 'SetText': App.Constants.Justify.Center, 'Start': (324.5,304.5), 'Stroke': None },{ 'Antialias': App.Constants.Boolean.true, 'WarpText': App.Constants.Boolean.false, 'AutoKern': App.Constants.Boolean.false, 'Bold': App.Constants.Boolean.true, 'Kerning': 0, 'Leading': 0, 'Fill': { 'Color': (255,255,255), 'Pattern': None, 'Gradient': None, 'Texture': None, 'Identity': u'Material' }, 'Font': Font, 'Italic': App.Constants.Boolean.false, 'Join': App.Constants.JointStyle.Miter, 'LineStyle': { 'Name': u'', 'FirstCap': (u'Butt',7.21,7.21), 'LastCap': (u'Butt',1,1), 'FirstSegCap': (u'',0.25), 'LastSegCap': (u'',0.25), 'UseSegmentCaps': App.Constants.Boolean.false, 'Segments': [] }, 'LineWidth': 1, 'MiterLimit': 10, 'PointSize': FontSize, 'SetText': App.Constants.Justify.Left, 'Start': (324.5,304.5), 'Strikethru': App.Constants.Boolean.false, 'Stroke': None, 'Underline': App.Constants.Boolean.false },{ 'Fill': None, 'PointSize': FontSize, 'Stroke': None, 'Characters': Text }], 'SavedText': None, 'FinalApply': App.Constants.Boolean.false, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # VectorMove App.Do( Environment, 'VectorMove', { 'MoveX': -200, 'MoveY': -37, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # LayerConvertToRaster App.Do( Environment, 'LayerConvertToRaster', { 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Inner Bevel App.Do( Environment, 'InnerBevel', { 'Ambience': 0, 'Angle': 7, 'Bevel': 1, 'Color': (90,96,132), 'Depth': 3, 'Elevation': 33, 'Intensity': 50, 'Shininess': 4, 'Smoothness': 0, 'Width': 8, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Drop Shadow App.Do( Environment, 'DropShadow', { 'Blur': 5, 'Color': (0,0,0), 'Horizontal': 3, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 25, 'Vertical': 3, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # New Raster Layer App.Do( Environment, 'NewRasterLayer', { 'General': { 'Opacity': 100, 'Name': u'Raster 2', 'IsVisible': App.Constants.Boolean.true, 'IsTransparencyLocked': App.Constants.Boolean.false, 'LinkSet': 0, 'UseHighlight': App.Constants.Boolean.false, 'PaletteHighlightColor': (255,255,64), 'GroupLink': App.Constants.Boolean.true, 'BlendMode': App.Constants.BlendMode.Normal }, 'BlendRanges': { 'BlendRangeGreen': (0,0,255,255,0,0,255,255), 'BlendRangeRed': (0,0,255,255,0,0,255,255), 'BlendRangeBlue': (0,0,255,255,0,0,255,255), 'BlendRangeGrey': (0,0,255,255,0,0,255,255) }, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # PictureTube # UndoLastCmd # PictureTube App.Do( Environment, 'PictureTube', { 'Placement': App.Constants.PlacementMode.Random, 'Scale': 30, 'SelectionMode': App.Constants.PictureTubeSelectionMode.Random, 'Step': 200, 'TubeName': u'scallop', 'CellsAcross': 1, 'CellsDown': 1, 'CellsTotal': 1, 'CellIndex': 0, 'Stroke': [ (App.Constants.PathEntryInterpretation.Absolute,(300.5,342.5),0) ], 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'RandomSeed': 68277686, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Drop Shadow App.Do( Environment, 'DropShadow', { 'Blur': 5, 'Color': (0,0,0), 'Horizontal': 3, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 25, 'Vertical': 3, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # New Raster Layer App.Do( Environment, 'NewRasterLayer', { 'General': { 'Opacity': 100, 'Name': u'Raster 3', 'IsVisible': App.Constants.Boolean.true, 'IsTransparencyLocked': App.Constants.Boolean.false, 'LinkSet': 0, 'UseHighlight': App.Constants.Boolean.false, 'PaletteHighlightColor': (255,255,64), 'GroupLink': App.Constants.Boolean.true, 'BlendMode': App.Constants.BlendMode.Normal }, 'BlendRanges': { 'BlendRangeGreen': (0,0,255,255,0,0,255,255), 'BlendRangeRed': (0,0,255,255,0,0,255,255), 'BlendRangeBlue': (0,0,255,255,0,0,255,255), 'BlendRangeGrey': (0,0,255,255,0,0,255,255) }, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # PictureTube # PictureTube App.Do( Environment, 'PictureTube', { 'Placement': App.Constants.PlacementMode.Random, 'Scale': 25, 'SelectionMode': App.Constants.PictureTubeSelectionMode.Random, 'Step': 200, 'TubeName': u'starfish2', 'CellsAcross': 1, 'CellsDown': 1, 'CellsTotal': 1, 'CellIndex': 0, 'Stroke': [ (App.Constants.PathEntryInterpretation.Absolute,(199.5,365.5),0) ], 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'RandomSeed': 68277686, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # New Raster Layer App.Do( Environment, 'NewRasterLayer', { 'General': { 'Opacity': 100, 'Name': u'Raster 4', 'IsVisible': App.Constants.Boolean.true, 'IsTransparencyLocked': App.Constants.Boolean.false, 'LinkSet': 0, 'UseHighlight': App.Constants.Boolean.false, 'PaletteHighlightColor': (255,255,64), 'GroupLink': App.Constants.Boolean.true, 'BlendMode': App.Constants.BlendMode.Normal }, 'BlendRanges': { 'BlendRangeGreen': (0,0,255,255,0,0,255,255), 'BlendRangeRed': (0,0,255,255,0,0,255,255), 'BlendRangeBlue': (0,0,255,255,0,0,255,255), 'BlendRangeGrey': (0,0,255,255,0,0,255,255) }, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # PictureTube App.Do( Environment, 'PictureTube', { 'Placement': App.Constants.PlacementMode.Random, 'Scale': 34, 'SelectionMode': App.Constants.PictureTubeSelectionMode.Random, 'Step': 200, 'TubeName': u'starfish2', 'CellsAcross': 1, 'CellsDown': 1, 'CellsTotal': 1, 'CellIndex': 0, 'Stroke': [ (App.Constants.PathEntryInterpretation.Absolute,(145.5,325.5),0) ], 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Default, 'RandomSeed': 68277686, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # Drop Shadow App.Do( Environment, 'DropShadow', { 'Blur': 5, 'Color': (0,0,0), 'Horizontal': 3, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 25, 'Vertical': 3, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) # SelectLayer App.Do( Environment, 'SelectLayer', { 'Path': (0,-1,[],App.Constants.Boolean.false), 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Default } }) # Drop Shadow App.Do( Environment, 'DropShadow', { 'Blur': 5, 'Color': (0,0,0), 'Horizontal': 3, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 25, 'Vertical': 3, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Interactive, 'AutoActionMode': App.Constants.AutoActionMode.Match } })