Scripting basics

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:


Feedback
Was this page helpful? Send feedback. (Internet connection required.)


Copyright 2013 Corel Corporation. All rights reserved.