Automating tasks : Processing files in batches
 
Processing files in batches
You can save time by processing multiple files with the Batch Process feature. You can use batch processing to perform common tasks or specific actions. For example, you can:
Copy files
Rename files
Convert the file format
Add or remove metadata, including location information or other EXIF data
Add watermarks
Resize
Apply scripts to multiple files
Add a Picture Frame
The Batch Process dialog box steps you through three pages: Add Photos, Batch Actions, Output Settings. Batch Actions are optional, but you should review the Output Settings before running your batch.
To batch process files
1 Click File > Batch Process.
2 In the Batch Process dialog box, on the Add Photos page, click Add and choose the files that you want to process.
3 Click Next.
4 On the Batch Actions page, choose any of the following actions:
Add Info — For information about displaying caption and EXIF info on your images, see Displaying captions and info text on images.
Watermark — For information about adding watermarks, see Adding visible watermarks.
Resize — For information on resizing, see Resizing images.
Script — Enable the check boxes for one or more scripts. Enable Silent Mode to avoid displaying dialog boxes associated with scripts (interrupts batch to request user input). For more information, see Working with scripting tools and features.
Picture Frame — For information about picture frames, see Adding picture frames to images.
5 Click Next.
6 On the Output Settings page, modify any of the following settings:
Destination folder — Enable New and navigate to a folder location or enable Original to save back to the source folder
Filename — To rename the files, enable Rename, click Modify, and choose an option from the Rename Options list, and click Add. You can rename the file with the current date, document name, position of the file in the renaming process, the current time, and custom text.
Naming conflicts — Enable the option that you want to apply in the event that two files have the same name.
File Format — Choose a file format. Click Options if you want to modify the settings for the file format.
Security features — Enable Delete EXIF information to remove all EXIF metadata from the processed files or enable Delete location information to remove any GPS coordinates. To add a Digimarc watermark, enable Embed Watermark.
7 Click Start to run the batch process.
 
You can also
 
Save your batch settings
On the Batch Actions page, click Save Batch, navigate to the folder where you want to store your batch file, and type a file name.
Use previously saved batch settings (.pba file)
On the Batch Actions page, click Load Batch, navigate to your batch settings file.
To convert multiple files to a new format
Edit workspace 
1 Choose File Batch Process to open the Batch Process dialog box.
2 Click Browse, and choose the file you want to process from the Select Files dialog box.
If you want to choose adjacent files, hold down Shift as you click; to choose non-adjacent files, hold down Ctrl as you click.
3 Click Select.
The files you choose appear in the Files to process list in the Batch Process dialog box.
4 In the Save Mode group box, choose an option:
New Type — This is the most basic option, requiring only that a new output type be set in the Type field of the Save Options group box. You can also choose to run a script with this option. This option reads in the file, runs the script (if defined) against the file, saves the file to its new location and/or name, and converts it to the new file format.
Copy — This option requires that a script be defined in the Script group box. This option reads in the file, runs the script against the file, and saves the file to a new location and/or name. With this option selected, the Type field and Options button of the Save Options group box are disabled.
Overwrite — This option requires that a script be defined in the Script group box. This option reads in the file, runs the script against the file, and saves the file to its original location (the original file is overwritten). With this option selected, all Save Options group box settings are disabled.
5 Click Options to open the Save Options dialog box.
Note: Not all file formats have associated options. If the file format you choose does not have any options, the Options button is unavailable.
6 Choose options from the Format and Encoding group boxes.
7 Click Start to open the Batch Progress dialog box and start the batch conversion.
The Current Step pane displays each filename and its conversion status. The Job Progress bar indicates the conversion progress.
8 Click OK.
Unless you specify another output folder, Corel PaintShop Pro saves the converted files in the same folder as the source files.
 
You can also
 
Rename converted files
Click Modify, choose an option from the Rename Options list, and click Add. You can rename the file with the current date, document name, position of the file in the renaming process, the current time, and custom text.
Stop the conversion
Click Cancel.
Run a script during the file format conversion
In the Script group box, mark the Use Script check box and choose a script from the drop-list.
Save a log file
In the Batch Progress dialog box, click Save Log, and choose the folder in which you want to save the log.
To run a script on multiple files
Edit workspace 
1 Choose File Batch Process to open the Batch Process dialog box.
2 Click Browse to open the Select Files dialog box.
3 Choose the folder where the files are stored.
4 Do one of the following:
To select adjacent files, hold down Shift and click the files.
To select non-adjacent files, hold down Ctrl and click the files.
5 Click Select.
The files appear in the Files to process list in the Batch Process dialog box.
6 In the Save Mode group box, choose one of the following options:
New Type — runs the script and saves the processed files as a new file type. You can choose to save the output files to another folder by clicking Browse.
Overwrite — runs the script and saves the file to its original location, overwriting the original file
Save Script — runs the script but does not save the file. Use this option when the script performs a save on the file.
If you choose Copy, you can rename the converted files by clicking Modify, choosing an option from the Rename Options list, and clicking Add. You can rename the file with the current date or time, a document name, the position of the file in the renaming process, or by custom text.
If you choose Overwrite, you can clear the Stop on error check box to avoid having to confirm the overwriting of each file.
7 In the Script group box, mark the Use Script check box.
8 Choose a script from the drop-list.
9 Click Start.
The Batch Progress dialog box opens and the batch conversion starts. The Current Step pane displays each filename and its conversion status. The Job Progress bar indicates the conversion progress.
10 Click OK.
 
You can also
 
Stop the script
Click Cancel.
Stop the script if Corel PaintShop Pro encounters an error
Mark the Stop on error check box. If you don’t mark it, the program processes all the images without stopping. The error messages appear in the Batch Conversion Status dialog box.
Run the script in Silent Mode
Mark the Run script in silent mode check box.
Save a log file
In the Batch Progress dialog box, click Save Log, and choose the folder in which you want to save the log.