Delete all hidden layers?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Delete all hidden layers?

Post by terrypin »

Is there an easy way to simultaneously delete ALL hidden layers? (I'm using an earlier file with a grid of 5x5 layers. I cropped it to 2x4 but all 25 layers are still listed. Deleting each unwanted layer individually was tedious, so I'm thinking of next time.)

Image
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Forriner
Posts: 449
Joined: Mon Aug 13, 2012 9:35 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Z170M-PLUS
processor: Intel Core i5-6400
ram: 16 GB
Hard_Drive_Capacity: 1250 GB
Monitor/Display Make & Model: Philips Brilliance 272b 2560 × 1440
Corel programs: PSP 2023
Location: The Netherlands

Re: Delete all hidden layers?

Post by Forriner »

Try selecting layers like in Windows File Explorer: click, shift-click, ctrl-click, until all the needed layers are selected. Then right-click and select Delete.
Kathy_9
Site Admin
Posts: 2896
Joined: Tue Nov 30, 2010 12:44 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: 8th Generation Intel Core i7 8700 3 20 GHz
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
Corel programs: PSPX2 ~2023; Painter 2018~23
Location: USA
Contact:

Re: Delete all hidden layers?

Post by Kathy_9 »

Just to add to what Forriner said, it depends on which version of PSP you are working with. Pretty sure the ctrl or shift method will not work in PSP 8 but will in PSP2018.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Delete all hidden layers?

Post by LeviFiction »

This method also depends on the version of PSP as it uses "Merge Visible" but it is an option. But PSP has an "invert" option that will make all visible layers hidden and all hidden layers visible. Then calling Merge Visible will combine all non-hidden layers into one new layer at the top of the layers palette. Delete this to get rid of them, Then call invert again to restore the original visibility of the layers.

Layers Menu -> View -> Invert
Layers Menu -> Merge -> Merge visible
Delete new top layer.
Layers Menu -> View -> Invert

This could easily be made into a script. It doesn't work well with layer groups though.
https://levifiction.wordpress.com/
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: Delete all hidden layers?

Post by terrypin »

Thanks Levi. Unfortunately that doesn't appear to work here on PSP 8, failing at the second step as you see.

Naturally the familiar Ctrl and Shift methods were the first I tried. But as Kathy says, frustratingly they don't work. Guess I'll have to resort to firing up 2018.

Image
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
User avatar
hartpaul
Advisor
Posts: 2893
Joined: Tue Mar 20, 2012 3:38 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020
Location: Australia

Re: Delete all hidden layers?

Post by hartpaul »

To get the Merge Visible, you must also have a visible layer active. In your screen shot you have a non visible layer selected.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
Cassel
Posts: 1587
Joined: Fri Oct 29, 2010 6:49 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Corel programs: PSP 8 (JASC) to PSP 2023
Location: Canada
Contact:

Re: Delete all hidden layers?

Post by Cassel »

I actually have a utility script that does that (among other things):
https://creationcassel.com/store/index. ... ucts_id=78

(sorry, it is not free)
Cassel
https://creationcassel.com/store
Specializing in PSP specific products: scripts and tubes

https://scrapbookcampus.com
for beginner and seasoned scrappers and designers and other PSP users
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: Delete all hidden layers?

Post by terrypin »

Thanks Paul, got it!

But I now realise I was making unnecessarily heavy weather of it. Instead I can just work with the layer holding the grid lines. (Called 'Merged' in my screenshot; now renamed more appropriately to '5x5 gridlines'). By cropping that I get the new grid I need.
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
terrypin
Posts: 492
Joined: Tue Jun 29, 2010 9:51 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z170 Pro 4
processor: Intel Core i7 6700K 4.0GHz
ram: 32 GB
Video Card: None - uses built-in graphics
sound_card: HD onboard sound card
Hard_Drive_Capacity: 4.256 TB
Monitor/Display Make & Model: iLyama Prolite E2403WS 24" 1920x1200
Corel programs: Paint Shop Pro 8; Paint Shop Pro 2018
Location: East Grinstead UK

Re: Delete all hidden layers?

Post by terrypin »

Cassel wrote: Sat Aug 07, 2021 3:36 am I actually have a utility script that does that (among other things):
https://creationcassel.com/store/index. ... ucts_id=78

(sorry, it is not free)
Thanks Cassel. As you may have seen from my reply to @harpaul I've now eliminated the need for all that deleting. But your utility sounds interesting and if I substantially increase my work with layers I'll consider it.
--
Terry, East Grinstead, UK
Using PSP 8 & PSP 2018 under Win 10
Post Reply