The more I play with X7 the more I find myself using it. However, when I have multiple files open and processed, I find I have to go through the process of saving each and every file manually. I suppose I could create a script to save the file but then I would have to run the script for each and every file. What I would like is some way to combine saving the files so that a single instruction or dialog box could take care of saving all open files.
I have tried to select multiple open files with the idea of running a script on all of them, but found no way to do this in X7. Is there some way to select multiple files for some kind of sequential processing on each of them?
Alternately is there some existing script that would allow me to setup save parameters for all open files and then process them automatically? Such a script exists for Photoshop (called Image Processor) that allows the user to select the save location, the type of file to be saved (jpg, tiff, etc) and a naming template. Then a single Run will process all images. Is there something like that for X7? Or is there some other way to process saving for all open files?
I have tried using the File -> Batch pulldown but that only seems to allow the use of existing files on disc rather than open files in the editor.
Thanks for any help.
Open file processing script?
Moderator: Kathy_9
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
-
LeviFiction
- Advisor
- Posts: 6831
- 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: Open file processing script?
I don't actually know if one already exists. But creating one is relatively simple.
I'm at work, (taking a small break) so I can't come up with one off the top of my head. Would you want to set the location, and settings at run-time? That would be harder, but not horribly difficult. Though it would require limiting the save options to just a few.
Will be interesting to look at when I get home unless someone else replies with a solution.
If you're looking for pre-made script Suz's Place is an excellent resource: http://suzsplace.com/8scripts.htm
I'm at work, (taking a small break) so I can't come up with one off the top of my head. Would you want to set the location, and settings at run-time? That would be harder, but not horribly difficult. Though it would require limiting the save options to just a few.
Will be interesting to look at when I get home unless someone else replies with a solution.
If you're looking for pre-made script Suz's Place is an excellent resource: http://suzsplace.com/8scripts.htm
https://levifiction.wordpress.com/
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: Open file processing script?
What I would like would be a script that allowed me to choose the save format (jpg, 8 bit tiff, 16 bit tiff) and the save location at run time. It would also be nice if I could pick the save quality. I could live with having to choose it as a standard set of information and manually copy the files to the desired location after. The idea is to avoid having to do this manually for every open file.LeviFiction wrote:I don't actually know if one already exists. But creating one is relatively simple.
I'm at work, (taking a small break) so I can't come up with one off the top of my head. Would you want to set the location, and settings at run-time? That would be harder, but not horribly difficult. Though it would require limiting the save options to just a few.
Will be interesting to look at when I get home unless someone else replies with a solution.
If you're looking for pre-made script Suz's Place is an excellent resource: http://suzsplace.com/8scripts.htm
I have looked at the link you sent and it seems interesting. Thanks for that.
- hartpaul
- Advisor
- Posts: 2893
- Joined: Tue Mar 20, 2012 3:38 pm
- 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: Open file processing script?
When I am processing a number of files at once and wish to save them I place copies of the files in a desktop folder and drag and drop into the workspace from there.
If you have many files open and have processed each one, you can close them all quickly by Windows > Close All.
You then get the Close All Files dialog box which allows you to continue to Close All without saving, select or deselect which files to save and then Save Selected which saves the selected back to the folder they came from with the same name.
From there you can choose to rename them if you wish using a different name under Windows.
If you have many files open and have processed each one, you can close them all quickly by Windows > Close All.
You then get the Close All Files dialog box which allows you to continue to Close All without saving, select or deselect which files to save and then Save Selected which saves the selected back to the folder they came from with the same name.
From there you can choose to rename them if you wish using a different name under Windows.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
-
Radim
- Posts: 712
- Joined: Mon Nov 01, 2010 5:54 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 4GB
- Monitor/Display Make & Model: 27 inch
Re: Open file processing script?
ImBatch 3.0?
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: Open file processing script?
I am trying to find a way to batch process photos edited in X7. As I understand it ImBatch is itself editing software and will not allow me to batch X7. Am I wrong about this?Radim wrote:ImBatch 3.0?
-
LeviFiction
- Advisor
- Posts: 6831
- 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: Open file processing script?
So I was playing around last night and I have a very ugly script for doing what you're looking for.
First it asks if you want to save as a JPEG, if you say no then it'll use TIFF. However JPEG is the only one with a compression setting. So if you say yes to JPEG you'll get a second choice for the compression.
Then it'll ask for the filename format. You have two options, not much I know. You can either include the original filename and/or the current number in the sequence. The sequence is determined by the order you opened the images in. Once it starts saving it saves each open document to the folder that it already is in. I could add a quick "Enter your destination path here" but I already dislike how ugly the script is.
I am now looking into another option, where I use the standard save-as dialog to get all of the important data.
First it asks if you want to save as a JPEG, if you say no then it'll use TIFF. However JPEG is the only one with a compression setting. So if you say yes to JPEG you'll get a second choice for the compression.
Then it'll ask for the filename format. You have two options, not much I know. You can either include the original filename and/or the current number in the sequence. The sequence is determined by the order you opened the images in. Once it starts saving it saves each open document to the folder that it already is in. I could add a quick "Enter your destination path here" but I already dislike how ugly the script is.
I am now looking into another option, where I use the standard save-as dialog to get all of the important data.
https://levifiction.wordpress.com/
-
MikeFromMesa
- Posts: 269
- Joined: Mon Aug 08, 2011 4:13 pm
- System_Drive: N/A
- 32bit or 64bit: 64 Bit
- processor: 3.0 GHz Intel Core i7
- ram: 16 GB
- Video Card: Intel Iris
- Hard_Drive_Capacity: 256 GB SSD
- Monitor/Display Make & Model: 24" Dell Ultrasharp Monitor
- Corel programs: PaintShop Pro, AfterShot Pro
- Location: Mesa, AZ USA
Re: Open file processing script?
Thanks for all your work. I don't need anything too fancy. I assume this is a python script?LeviFiction wrote:So I was playing around last night and I have a very ugly script for doing what you're looking for.
First it asks if you want to save as a JPEG, if you say no then it'll use TIFF. However JPEG is the only one with a compression setting. So if you say yes to JPEG you'll get a second choice for the compression.
Then it'll ask for the filename format. You have two options, not much I know. You can either include the original filename and/or the current number in the sequence. The sequence is determined by the order you opened the images in. Once it starts saving it saves each open document to the folder that it already is in. I could add a quick "Enter your destination path here" but I already dislike how ugly the script is.
I am now looking into another option, where I use the standard save-as dialog to get all of the important data.
I downloaded and installed pycharm with the intention of learning python and then learning the set of Corel interfaces, but haven't gotten around to doing anything yet. Retirement is terrible!
