Hello
I'm trying to save a script which includes copying and pasting and then merging a new layer. It saves fine when just using the layer type as 'normal', but if I change the new layer type to anything other than normal(lighter, darker, overlay etc), Paint Shop Pro 2023 crashes to the desktop when pressing the 'save' button.
It DOES work fine when I try doing it in Paint Shop Pro 2021, I can change the new layer and save without issue!
Thanks
Darren
Can't save a script when changing layer type
Moderator: Kathy_9
-
- Posts: 3
- Joined: Thu Jan 26, 2023 6:59 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
-
- Advisor
- Posts: 6778
- Joined: Thu Oct 02, 2008 1:07 pm
- 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: Can't save a script when changing layer type
Well, I can't replicate it from the instructions given.
Here's what I did:
1) Created new image 256x256
2) Made a random selection on the background layer with the lasso tool
3) Hit Record on the Script Toolbar
4) Hit Copy
5) Paste as New Layer
6) Right-click, Merge Visible as new layer
7) On New Merged Layer set Blend mode (directly in layers palette, not in properties dialog) to Overlay
8 ) Hit Save Script
9) Gave it a name (no crash for me)
10) Created New image, made new selection, ran script
11) Script ran fine.
So some questions: 1) What were your exact steps to replicate the issue? 2) Does it happen with any other layer property beyond Blend Mode? Like renaming it, or changing the layer color? Can you replicate the crash changing the blend mode of any layer or only after these sets of circumstances?
It's easy enough to Edit the script with the correct blend mode. So if you just want a working script I can I'll post that below. But curious about what various testing you've done and the exact script creation steps you performed. This could be one of those simple "reset PSP" things or it could be a missed bug.
EDITING SCRIPT:
So first thing is first, after you've recorded and saved your script without changing the blend mode. Open up the History Palette View -> Palettes -> HIstory or just the Palettes menu Palettes->History.
Change the blend mode of your layer. You'll see the LayerProperties or action. Right-click, copy to Clipboard.
Open your script in Notepad (or dedicated script editor if you have one). And where you want the layer blend mode changed, paste the command you just copied. Save the script. It should, in 98% of all cases, work.
Here's what I did:
1) Created new image 256x256
2) Made a random selection on the background layer with the lasso tool
3) Hit Record on the Script Toolbar
4) Hit Copy
5) Paste as New Layer
6) Right-click, Merge Visible as new layer
7) On New Merged Layer set Blend mode (directly in layers palette, not in properties dialog) to Overlay
8 ) Hit Save Script
9) Gave it a name (no crash for me)
10) Created New image, made new selection, ran script
11) Script ran fine.
So some questions: 1) What were your exact steps to replicate the issue? 2) Does it happen with any other layer property beyond Blend Mode? Like renaming it, or changing the layer color? Can you replicate the crash changing the blend mode of any layer or only after these sets of circumstances?
It's easy enough to Edit the script with the correct blend mode. So if you just want a working script I can I'll post that below. But curious about what various testing you've done and the exact script creation steps you performed. This could be one of those simple "reset PSP" things or it could be a missed bug.
EDITING SCRIPT:
So first thing is first, after you've recorded and saved your script without changing the blend mode. Open up the History Palette View -> Palettes -> HIstory or just the Palettes menu Palettes->History.
Change the blend mode of your layer. You'll see the LayerProperties or action. Right-click, copy to Clipboard.
Open your script in Notepad (or dedicated script editor if you have one). And where you want the layer blend mode changed, paste the command you just copied. Save the script. It should, in 98% of all cases, work.
-
- Posts: 3
- Joined: Thu Jan 26, 2023 6:59 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
Re: Can't save a script when changing layer type
OK, thanks, I'll try your editing in notepad tip.
I'm trying to mess with a clouds png with transparency. I'm using a couple of other steps, but after PSP kept crashing I experimented with just one at a time to find the culprit. And, it's the layer thing.
If I click on Edit, Copy, Paste As New Layer, Merge Down then it saves the script.
If I click on Edit, Copy, Paste As New Layer, then use the layer box to change the new layer to something else like overlay, lighter, darker etc, then merge down and save, PSP crashes instantly.
Thing that gets me is I've done this before in PSP 2021, and, after the PSP 2023 crashes, I tried the above method again in PSP 2021, with no issues.
I'm trying to mess with a clouds png with transparency. I'm using a couple of other steps, but after PSP kept crashing I experimented with just one at a time to find the culprit. And, it's the layer thing.
If I click on Edit, Copy, Paste As New Layer, Merge Down then it saves the script.
If I click on Edit, Copy, Paste As New Layer, then use the layer box to change the new layer to something else like overlay, lighter, darker etc, then merge down and save, PSP crashes instantly.
Thing that gets me is I've done this before in PSP 2021, and, after the PSP 2023 crashes, I tried the above method again in PSP 2021, with no issues.
-
- Advisor
- Posts: 6778
- Joined: Thu Oct 02, 2008 1:07 pm
- 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: Can't save a script when changing layer type
What's your build version of 2023? Help -> About
-
- Posts: 3
- Joined: Thu Jan 26, 2023 6:59 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- Corel programs: Paint Shop Pro 2023
Re: Can't save a script when changing layer type
25.1.0.32 x64
Build date 14 Nov 2022
Build mode release 19000004
Build date 14 Nov 2022
Build mode release 19000004
-
- Advisor
- Posts: 6778
- Joined: Thu Oct 02, 2008 1:07 pm
- 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: Can't save a script when changing layer type
Well you're fully patched. Best I can offer is try doing a factory reset, otherwise contact Corel support. And you can see what I did to test, so unless there is an important difference I missed in my test again I cannot replicate so it's not a universal bug. Whatever is causing it is unique.