Groups > Corel > Corel Paint Shop Pro Scripting > PSP8 Triptych script... final, todo, completo!




PSP8 Triptych script... final, todo, completo!

PSP8 Triptych script... final, todo, completo!
Tue, 19 Feb 2008 00:45:12 +010
JoeB,

OK folks, here's the final workaround for this script. I realised I had 
found a workaround for this in a previous script (Stripper), which also 
required bordered panels.

To achieve this in PSP8 I simply used the SelectionBorders and darkened 
it right down...

     # Select Selection Borders
     App.Do( Environment, 'SelectSelectionBorders', {
             'Antialias': 1,
             'BordersType': App.Constants.BordersType.Outside,
             'BorderWidth': 1,
             'GeneralSettings': {
                 'ExecutionMode': App.Constants.ExecutionMode.Default,
                 'AutoActionMode': App.Constants.AutoActionMode.Match,
                 }
             })

     # Color Adjust Brightness Contrast
     App.Do( Environment, 'ColorAdjustBrightnessContrast', {
             'BrightnessContrast': {
                 'Brightness': -255,
                 'Contrast': 0
                 },
             'GeneralSettings': {
                 'ExecutionMode': App.Constants.ExecutionMode.Default,
                 'AutoActionMode': App.Constants.AutoActionMode.Match,
                 }
             })

So I've attached the final version of this PSP8 script to this post, 
which will finally (hopefully) put it to bed! :)

Rgds,
Howard
-- 

  ---oooOOOooo---

     Sheilsoft
  ComputerSystems

www.sheilsoft.com

  ---oooOOOooo---
Post Reply
about | contact