Script for saving all open images

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
Carolrob
Posts: 10
Joined: Wed Mar 07, 2012 9:20 am
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 64 Bit

Script for saving all open images

Post by Carolrob »

Is there a script for saving all open images?
This would be very helpful after running Joe Fromm's Layers-Delaminate script.
I am using PSP x3.

Thanks,
Carol
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: Script for saving all open images

Post by LeviFiction »

Well, I'm sure someone has made a script like that before but I don't know of any such script for download.

My big question is, what do you want it to do? I know, save all open images. But do you want to save copies of all open images to prevent overwriting the original images? Or do you want it to just run the normal save command?

Do you want it to close each image after it's been saved or do you want each image to remain open?

If you want it to close all images you can actually avoid the need for a script by going to the "Window" menu on the menu bar and selecting "Close All" it'll ask you if you want to save the changes to all of the open images. Just say yes and you're done.

If you want to simply save each open image that's easy enough to write a script for. It then comes down to if you want to just Save or if you want to Save using a special naming pattern using Save As or Save Copy As.
https://levifiction.wordpress.com/
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: Script for saving all open images

Post by Cassel »

You might want to have a look at this script (not free):
http://creationcassel.com/store/index.p ... cts_id=137

It will separate all the layers but will save them all where you want them. Maybe that is what you need?
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
Carolrob
Posts: 10
Joined: Wed Mar 07, 2012 9:20 am
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 64 Bit

Re: Script for saving all open images

Post by Carolrob »

After I delaminate a psp image I want to save and close each image as a png into the same folder
as the original psp image. As they delaminate they are named image1, image2, etc. which is fine
so renaming isn't necessary.
teknisyan
Posts: 2421
Joined: Wed Oct 06, 2010 4:18 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Sony Corporation VAIO
processor: Intel Corel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: Realtek HD Audio
Hard_Drive_Capacity: 500 GB
Location: Riyadh, KSA
Contact:

Re: Script for saving all open images

Post by teknisyan »

You may also want to record your own scripts. Just visit http://pnoy.me/pspscripts to know how to record and save your own scripts.
Like reading blogs?
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
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: Script for saving all open images

Post by Cassel »

Recording your own script when you need to save images with different file names and path requires some basic programming knowledge in coding the script in Python. This is how to make the script intelligent. :)
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
Carolrob
Posts: 10
Joined: Wed Mar 07, 2012 9:20 am
operating_system: Vista Home Premium
System_Drive: C
32bit or 64bit: 64 Bit

Re: Script for saving all open images

Post by Carolrob »

The images are already named, just need to convert to png and save and close to same folder.
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: Script for saving all open images

Post by Cassel »

If the images are already named, it means they are already saved as you can only name them while saving them otherwise they will be displaying "Image1", "image2", etc. And if the images are already saved, i am not sure where the process is left.
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
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: Script for saving all open images

Post by LeviFiction »

Cassel, Carolrob says that them being named "Image1" "Image2", etc. is okay. So CarolRob is considering that to be already named. So we just have to use SaveAs and grab the image title and make sure it's a PNG.
https://levifiction.wordpress.com/
JBradford
Posts: 1
Joined: Tue Apr 02, 2013 12:11 am
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0V2WG4 A09
processor: 2.67 gigahertz Intel Core i5 M 560
ram: 5878 Megab
Video Card: NVIDIA GeForce GT 435M
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 624.36 Gig
Monitor/Display Make & Model: Generic PnP Monitor (17.1"vis)

Re: Script for saving all open images

Post by JBradford »

The given advice was:
"You may also want to record your own scripts. Just visit http://pnoy.me/pspscripts to know how to record and save your own scripts."
If Ii try to go there, because I really need info on how to record and save my own scripts, I get the following messge:

Fatal error
Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/content/52/7926852/html/includes/class-mysql.php on line 298
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: Script for saving all open images

Post by LeviFiction »

Well, recording scripts, the help files do a decent enough job of explaining how that's done.

It's under the "Automating Tasks" category in the help files.

You make sure the script toolbar is visible, (View -> Toolbars -> Script) hit the big red record button then start working.

While recording it'll record everything you do, selecting layers, the commands you use, the tools you use, so on and so forth.

Once you're done there will be a Save Recording icon (diskette with a red circle on it). Click that icon it'll ask for the name of the script. Hit save and you now have a new script.

To run a script, select it from the drop-down list on the toolbar. Then hit the blue Play button.
https://levifiction.wordpress.com/
Post Reply