This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > June 2007 > Setting ALL layers to hidden





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Setting ALL layers to hidden
rfr

2007-06-13, 6:25 pm

Is it possible to set all image layers to hidden?

If so, does anyone have a script example?


SuzShook

2007-06-13, 6:25 pm

Just posted this in the reply to your other request, rfr. Suz

rfr wrote:
> Is it possible to set all image layers to hidden?
>
> If so, does anyone have a script example?



JoeB

2007-06-13, 6:25 pm

"rfr" <rfrohrer@iw.net> wrote in news:466ee7ed$1_2@cnews:

> Is it possible to set all image layers to hidden?
>
> If so, does anyone have a script example?


Layers>View>None (or right-click on a layer and, in the context menu and
select View>None). However, you can customize the toolbar at the top of
the layers palette (right-click on the toolbar and select Customize) then
in the dialogue that opens select Layers from the Categories on the left,
and scroll down to None in the Commands window at right and drag None to
the toolbar. That will give you a one-click way to achieve it. You can
also drag the All button to the toolbar to View All. You don't need a
script for that.

However, if you wish to add the Hide All Layers as a step in a larger
script, then add the code below in the appropriate place in the script:

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


Regards,

JoeB
rfr

2007-06-13, 6:25 pm

Thank you!
"SuzShook" <suzshook@roadrunner.com> wrote in message
news:466ef7e0$1_3@cnews...
> Just posted this in the reply to your other request, rfr. Suz
>
> rfr wrote:
>
>



rfr

2007-06-13, 6:25 pm

Thank you!
"SuzShook" <suzshook@roadrunner.com> wrote in message
news:466ef7e0$1_3@cnews...
> Just posted this in the reply to your other request, rfr. Suz
>
> rfr wrote:
>
>



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews