Scripts are a series of commands that you record and play back. This can be a great time-saver, because instead of having to make the changes to each image, you simply have to play back the script. The commands you recorded in the script are performed on the image.
Corel PaintShop Pro has a full-featured scripting engine based on the Python programming language. You can get more information on this language at www.python.org. Although you can write your own scripts using Python syntax, Corel PaintShop Pro has a built-in script recorder that can do this work for you, allowing you to script almost any action within the application.
If, however, you choose to write a script in the Python language, note that Python uses indentation to determine scoping, so you must be very careful about mixing spaces and tabs. We recommend that you use a Python-aware editor such as PythonWin or Idle if you choose to write your own scripts.
Scripting resources
Corel PaintShop Pro provides the following scripting resources:
• |
Command API — an HTML-based resource that helps you add Corel PaintShop Pro commands and parameters to the scripts that you write. |
• |
Scripting Guide — a PDF guide that provides information about scripting for Corel PaintShop Pro. Definitions, example scripts, and command and parameter information helps you become familiar with scripting. (Available to all Members as a download (Help Your Account). |
• |
Sample scripts — referenced in the Scripting Guide, the sample scripts are provided to give you some examples that you can learn from and build on. |
Copyright 2013 Corel Corporation. All rights reserved.