Automating tasks : Troubleshooting a script
 
Troubleshooting a script
To selectively apply actions to the current image and identify any scripting problems, you can run a script step-by-step.
To step through a script
Edit workspace 
1 Choose File Script Single Step.
Corel PaintShop Pro is in Script Single Step mode.
2 Run the desired script.
The Step Script dialog box appears, listing the script’s name and first action.
3 Click any of the following as you step through the script’s commands and actions:
Continue — applies the command to the image and moves on to the next command in the script
Skip Command — does not apply the command to the image and moves on to the next command in the script
Stop Scripts — cancels this operation and closes the Step Script dialog box
Note: Corel PaintShop Pro remains in Script Single Step mode until you toggle off this command by choosing File Script Single Step again.
When using this feature, it’s helpful to display the Script toolbar by choosing View Toolbars Script.