home *** CD-ROM | disk | FTP | other *** search
Wrap
from JascApp import * def ScriptProperties(): return { 'Author': 'Joe Fromm', 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved. Permission to create derivate works of this script is granted provided this copyright notice is included', 'Description': 'Make a selection appear to sit on top of the image by beveling the edges and casting a shadow.', 'Host': 'Paint Shop Pro', 'Host Version': '8.00' } def Do(Environment): App.Do( Environment, 'FloatSelection', { 'ClearSource': None, 'BackupSelection': None, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) App.Do( Environment, 'InnerBevel', { 'Ambience': 0, 'Angle': 315, 'Bevel': 0, 'Color': (255,255,255), 'Depth': 20, 'Elevation': 30, 'Intensity': 50, 'Shininess': 0, 'Smoothness': 0, 'Width': 8, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) App.Do( Environment, 'DropShadow', { 'Blur': 5.000000, 'Color': (0,0,0), 'Horizontal': 10, 'NewLayer': App.Constants.Boolean.false, 'Opacity': 50, 'Vertical': 10, 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Match } }) App.Do( Environment, 'SelectPromote', { 'KeepSelection': None, 'LayerName': 'Beveled Selection', 'GeneralSettings': { 'ExecutionMode': App.Constants.ExecutionMode.Silent, 'AutoActionMode': App.Constants.AutoActionMode.Match } })