Quick Guide: Running Batch Scripts In Paint Shop Pro 9

how run script in batch paint shop pro 9

PaintShop Pro's image editing tools allow users to batch process images to speed up post-processing. This is especially useful when wanting to execute the same edits or adjustments on several photos. To run a script in batch on Paint Shop Pro 9, users must first record a script by using PSP's macro option and saving the script without saving the image file. Next, the script must be edited by selecting 'Edit Selected Script' and opening the script in a text editor. Finally, the values in the script must be changed and saved. Once the script is created, it can be selected and run in the Batch Process.

Characteristics Values
Step 1 Record a resize
Step 2 Edit the script
Step 3 Change the values
Step 4 Configure the batch process
Step 5 Run the batch process
Add Photos Click "Add" and choose the files to be processed
Batch Actions Add Info, Watermark, Resize, Script, Picture Frame
Output Settings Destination folder, Filename, Naming conflicts, File format, Security features
Silent Mode Enabled to avoid displaying dialog boxes associated with scripts

cypaint

Selecting images for batch processing

To select images for batch processing in PaintShop Pro, you need to first install the photo editing software on your PC by downloading and running the installation file. Once the software is installed, follow these steps:

  • Click "File" and then select "Batch Process". This will open the Batch Process dialog box.
  • On the Batch Process dialog box, navigate to the Add Photos page. Here, you can click "Add" and choose the images you want to process. You can select multiple images at once.
  • After selecting your images, click "Next" to proceed to the "Batch Actions" page.
  • On the Batch Actions page, you can choose from various actions, such as resizing, adding watermarks, or applying scripts. Select the desired actions based on the edits you want to make to your images.
  • Review the Output Settings to ensure they are configured according to your preferences. You can modify settings such as the destination folder, filename, and file format.
  • Once you have selected your images and configured the desired actions and settings, click "Start" to initiate the batch processing.

By following these steps, you can efficiently select and process multiple images simultaneously in PaintShop Pro, saving time and effort compared to editing each image individually.

cypaint

Choosing scripts

A script is a mini-program that applies a series of artistic effects or editing techniques to your photos. PaintShop Pro offers a selection of built-in scripts, and you can also create your own or purchase pre-made scripts from the Store tab of the welcome screen.

To choose a script, open PaintShop Pro and go to the Edit tab. Turn on the Script toolbar by navigating to View > Toolbars > Script. Click on the dropdown menu to view the available scripts. Select the desired script, such as the High Key Black White Script or the Colorized Sketch script, and click the Run Selected Script button.

You can also record your own scripts by clicking the Record button and performing the desired actions. Save the script, and it will repeat those steps each time you run it. Keep in mind that recorded scripts may not work with different images, formats, or sizes, and additional commands may be needed.

When choosing a script, consider the specific effects or techniques you want to apply to your photos. Some scripts, like the High Key Black White Script, can help brighten your image and make it more professional. Interactive scripts like the Colorized Sketch script may require user input during the process.

Additionally, pay attention to the compatibility of scripts with different versions of PaintShop Pro. While most scripts will work in most versions, certain commands and tools may not be present in older versions, causing the script to fail.

cypaint

Editing scripts

Scripts were introduced in version 8 of PaintShop Pro, and they have been a part of the software ever since. However, it's important to note that scripts are based on the tools and functions available in a particular version of the software. As a result, some scripts may not work in certain versions if they use commands or tools that are not available in that version.

To edit scripts in PaintShop Pro, you can use the user interface or edit the Python code in a text editor application. The commands and actions that make up the script can be found in the Script Commands group box. When editing scripts, it's important to note that certain command names shown in italics with the words "NOT editable" cannot be selected for editing. Additionally, if the script format is unreadable or was created and edited manually in a text editor, the PaintShop Pro Script Editor may not be able to open it. Instead, it will open in the default text editor specified in the File Locations dialog box.

When editing scripts, you can add additional commands to make them work with different images, formats, and sizes. These commands include functions, loops, mathematical calculations, string manipulations, and conditionals. However, editing the code itself requires a good knowledge of coding language. Coded scripts can perform more advanced tasks and incorporate user input. They often require some sort of recording, but it's easy to copy and paste snippets of code from one script to another.

cypaint

Configuring the batch process

To configure the batch process in Paint Shop Pro 9, follow these steps:

Firstly, select the images you want to edit. You can select images from one folder, and then repeat this step to add images from other folders. If you change your mind about any of the images, simply click on them and then click the delete button.

Next, choose the commands you want to run on your images. There are several options available, including Add Info, Watermark, Resize, Script, and Picture Frame. For example, if you want to resize your images, you can choose a new size in pixels or as a percentage. If you want to run a script on your images, select the Script option and choose the desired script. You can use a script that came with PSP, a script you purchased, or a custom script that you created yourself.

Once you have selected your images and chosen your commands, it's time to configure the output settings. You can choose the destination folder for your processed images, whether to rename the files, how to handle naming conflicts, and the desired file format. For example, if you have added a watermark, you may want to save the file in .pspimage format so you can still move the watermark if needed.

Finally, review the settings and ensure they are correct before initiating the batch process. Make sure Silent Mode is ticked if you don't want dialog boxes associated with scripts to interrupt the process. When you are ready, click 'Start' to begin the batch process. Your images will be processed according to the selected settings and commands.

cypaint

Running the batch process

To run a script in a batch process in Paint Shop Pro 9, you must first create and edit a script. Open an image and use PSP's macro option to record yourself resizing the image, then save the macro/script. Next, find the script in the drop-down list of scripts and select 'Edit Selected Script', then 'Text Editor' to open the script in Notepad. You can then edit the script as needed, for example, changing the 'aspectratio' and 'height' values to None and saving the script.

Once you have created and edited your script, you can run the batch process. First, select the images you want to process. You can select images from one folder, then repeat the process to add images from another folder. If you change your mind about any of the selected images, simply click on them and click the DELETE button. When you are done selecting your images, click 'Next'.

On the next page, you can choose the types of commands you want to run on your images. Select ''Script' to run your script on the images. You can also choose other commands such as 'Add Info' to add information to the images, 'Watermark' to add a watermark, or 'Resize' to change the size of the images.

On the final page, review the Output Settings. Here you can choose the destination folder for your processed images, rename the files if desired, and choose a file format. It is important to review these settings carefully before running the batch process.

Finally, when you are ready to run the process, select 'Start'. Your images will be processed according to the script and any other selected commands. The batch process can save you time and effort by automatically applying the same edits to multiple images.

Frequently asked questions

First, record a script by using PSP’s macro option and saving the script. Then, select the script from the dropdown list and click 'Edit Selected Script'. Open the script in a text editor and change the values as needed. Finally, select the script and click 'Use Script' and Start to run the batch process.

Scripts are tools that can execute various steps and apply different commands automatically, such as resizing images. They can work faster than manual editing and perform mathematical calculations for precise effects.

Scripts can be installed in either the 'Scripts - Restricted' folder or the 'Scripts - Trusted' folder. The latter is for scripts that close files, write files on your hard drive, or perform other commands that affect your files.

Written by
Reviewed by
Share this post
Print
Did this article help you?

Leave a comment